mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
Fix: initial numeric values.
This commit is contained in:
@@ -37,10 +37,10 @@ const MIN_LINES_NUMBER = 4;
|
|||||||
|
|
||||||
const defaultEstimate = {
|
const defaultEstimate = {
|
||||||
index: 0,
|
index: 0,
|
||||||
item_id: null,
|
item_id: '',
|
||||||
rate: null,
|
rate: '',
|
||||||
discount: 0,
|
discount: 0,
|
||||||
quantity: null,
|
quantity: '',
|
||||||
description: '',
|
description: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ const MIN_LINES_NUMBER = 4;
|
|||||||
|
|
||||||
const defaultInvoice = {
|
const defaultInvoice = {
|
||||||
index: 0,
|
index: 0,
|
||||||
item_id: null,
|
item_id: '',
|
||||||
rate: null,
|
rate: '',
|
||||||
discount: 0,
|
discount: 0,
|
||||||
quantity: null,
|
quantity: '',
|
||||||
description: '',
|
description: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -106,10 +106,10 @@ function PaymentReceiveForm({
|
|||||||
|
|
||||||
// Default payment receive entry.
|
// Default payment receive entry.
|
||||||
const defaultPaymentReceiveEntry = {
|
const defaultPaymentReceiveEntry = {
|
||||||
id: null,
|
id: '',
|
||||||
payment_amount: null,
|
payment_amount: '',
|
||||||
invoice_id: null,
|
invoice_id: '',
|
||||||
due_amount: null,
|
due_amount: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Form initial values.
|
// Form initial values.
|
||||||
|
|||||||
@@ -38,10 +38,10 @@ const MIN_LINES_NUMBER = 4;
|
|||||||
|
|
||||||
const defaultReceipt = {
|
const defaultReceipt = {
|
||||||
index: 0,
|
index: 0,
|
||||||
item_id: null,
|
item_id: '',
|
||||||
rate: null,
|
rate: '',
|
||||||
discount: 0,
|
discount: 0,
|
||||||
quantity: null,
|
quantity: '',
|
||||||
description: '',
|
description: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user