mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: Date format in sales/purchases APIs.
fix: Algorithm FIFO cost calculate method.
This commit is contained in:
@@ -12,7 +12,7 @@ export default class InventoryTransaction extends TenantModel {
|
||||
/**
|
||||
* Model timestamps.
|
||||
*/
|
||||
static get timestamps() {
|
||||
get timestamps() {
|
||||
return ['createdAt', 'updatedAt'];
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Customer from './Customer';
|
||||
import Vendor from './Vendor';
|
||||
import Option from './Option';
|
||||
import SaleEstimate from './SaleEstimate';
|
||||
import SaleEstimateEntry from './SaleEstimateEntry';
|
||||
import SaleReceipt from './SaleReceipt';
|
||||
@@ -44,4 +45,5 @@ export {
|
||||
InventoryTransaction,
|
||||
InventoryLotCostTracker,
|
||||
AccountType,
|
||||
Option,
|
||||
};
|
||||
Reference in New Issue
Block a user