mirror of
https://github.com/frappe/books.git
synced 2024-12-22 19:09:01 +00:00
29 lines
575 B
TypeScript
29 lines
575 B
TypeScript
import { Doc } from 'fyo/model/doc';
|
|
import { ListViewSettings } from 'fyo/model/types';
|
|
import { Money } from 'pesa';
|
|
|
|
export class StockLedgerEntry extends Doc {
|
|
date?: Date;
|
|
item?: string;
|
|
rate?: Money;
|
|
quantity?: number;
|
|
location?: string;
|
|
referenceName?: string;
|
|
referenceType?: string;
|
|
batch?: string;
|
|
serialNumber?: string;
|
|
|
|
static override getListViewSettings(): ListViewSettings {
|
|
return {
|
|
columns: [
|
|
'date',
|
|
'item',
|
|
'location',
|
|
'rate',
|
|
'quantity',
|
|
'referenceName',
|
|
],
|
|
};
|
|
}
|
|
}
|