feat: estimate & cashflow.

This commit is contained in:
elforjani13
2021-12-28 13:10:15 +02:00
parent f2150a982a
commit 9182e13c07
3 changed files with 4 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export default function CashflowTransactionDrawerHeader() {
const {
cashflowTransaction: {
formatted_amount,
transaction_type,
transaction_type_formatted,
transaction_number,
reference_no,
date,
@@ -44,7 +44,7 @@ export default function CashflowTransactionDrawerHeader() {
name={'transaction_type'}
label={<T id={'cash_flow_drawer.label_transaction_type'} />}
>
{transaction_type}
{transaction_type_formatted}
</DetailItem>
<DetailItem

View File

@@ -29,7 +29,7 @@ export const defaultPaymentMade = {
payment_date: moment(new Date()).format('YYYY-MM-DD'),
reference: '',
payment_number: '',
// statement: '',
statement: '',
currency_code: '',
entries: [],
};

View File

@@ -128,6 +128,7 @@ function EstimateFormHeader({
{({ form, field: { value }, meta: { error, touched } }) => (
<FormGroup
label={<T id={'expiration_date'} />}
labelInfo={<FieldRequiredHint />}
inline={true}
className={classNames(
CLASSES.FORM_GROUP_LIST_SELECT,