fix: subtitle issue with sales transaction number.

This commit is contained in:
Ahmed Bouhuolia
2020-11-24 11:33:29 +02:00
parent 218d90c571
commit 9779591029
24 changed files with 218 additions and 76 deletions

View File

@@ -49,7 +49,7 @@ function PaymentMadeActionsBar({
const { formatMessage } = useIntl();
const handleClickNewPaymentMade = useCallback(() => {
history.push('/payment-made/new');
history.push('/payment-mades/new');
}, [history]);
// const filterDropdown = FilterDropdown({

View File

@@ -13,6 +13,7 @@ const Schema = Yup.object().shape({
.required()
.label(formatMessage({ id: 'payment_account_' })),
payment_number: Yup.string()
.nullable()
.max(DATATYPES_LENGTH.STRING)
.label(formatMessage({ id: 'payment_no_' })),
reference: Yup.string().min(1).max(DATATYPES_LENGTH.STRING).nullable(),

View File

@@ -107,6 +107,7 @@ function PaymentMadeFormHeader({
defaultSelectText={ <T id={'select_vender_account'} /> }
onContactSelected={onChangeSelect('vendor_id')}
disabled={!isNewMode}
popoverFill={true}
/>
</FormGroup>