2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/models/inventory/StockLedgerEntry.ts

29 lines
575 B
TypeScript
Raw Normal View History

import { Doc } from 'fyo/model/doc';
import { ListViewSettings } from 'fyo/model/types';
2022-10-28 08:04:08 +00:00
import { Money } from 'pesa';
2022-10-28 08:04:08 +00:00
export class StockLedgerEntry extends Doc {
date?: Date;
item?: string;
rate?: Money;
quantity?: number;
location?: string;
referenceName?: string;
referenceType?: string;
2023-02-28 06:01:04 +00:00
batch?: string;
2023-05-04 10:45:12 +00:00
serialNumber?: string;
static override getListViewSettings(): ListViewSettings {
return {
columns: [
'date',
'item',
'location',
'rate',
'quantity',
'referenceName',
],
};
}
2022-10-28 08:04:08 +00:00
}