mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 07:40:32 +00:00
feat: estimate & cashflow.
This commit is contained in:
@@ -19,7 +19,7 @@ export default function CashflowTransactionDrawerHeader() {
|
|||||||
const {
|
const {
|
||||||
cashflowTransaction: {
|
cashflowTransaction: {
|
||||||
formatted_amount,
|
formatted_amount,
|
||||||
transaction_type,
|
transaction_type_formatted,
|
||||||
transaction_number,
|
transaction_number,
|
||||||
reference_no,
|
reference_no,
|
||||||
date,
|
date,
|
||||||
@@ -44,7 +44,7 @@ export default function CashflowTransactionDrawerHeader() {
|
|||||||
name={'transaction_type'}
|
name={'transaction_type'}
|
||||||
label={<T id={'cash_flow_drawer.label_transaction_type'} />}
|
label={<T id={'cash_flow_drawer.label_transaction_type'} />}
|
||||||
>
|
>
|
||||||
{transaction_type}
|
{transaction_type_formatted}
|
||||||
</DetailItem>
|
</DetailItem>
|
||||||
|
|
||||||
<DetailItem
|
<DetailItem
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export const defaultPaymentMade = {
|
|||||||
payment_date: moment(new Date()).format('YYYY-MM-DD'),
|
payment_date: moment(new Date()).format('YYYY-MM-DD'),
|
||||||
reference: '',
|
reference: '',
|
||||||
payment_number: '',
|
payment_number: '',
|
||||||
// statement: '',
|
statement: '',
|
||||||
currency_code: '',
|
currency_code: '',
|
||||||
entries: [],
|
entries: [],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ function EstimateFormHeader({
|
|||||||
{({ form, field: { value }, meta: { error, touched } }) => (
|
{({ form, field: { value }, meta: { error, touched } }) => (
|
||||||
<FormGroup
|
<FormGroup
|
||||||
label={<T id={'expiration_date'} />}
|
label={<T id={'expiration_date'} />}
|
||||||
|
labelInfo={<FieldRequiredHint />}
|
||||||
inline={true}
|
inline={true}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
CLASSES.FORM_GROUP_LIST_SELECT,
|
CLASSES.FORM_GROUP_LIST_SELECT,
|
||||||
|
|||||||
Reference in New Issue
Block a user