2
0
mirror of https://github.com/frappe/books.git synced 2025-01-11 02:36:14 +00:00
books/models/inventory/SerialNo.ts
2023-04-25 12:37:29 +05:30

17 lines
393 B
TypeScript

import { Doc } from 'fyo/model/doc';
import { ListViewSettings } from 'fyo/model/types';
import { getSerialNoStatusColumn } from 'models/helpers';
export class SerialNo extends Doc {
static getListViewSettings(): ListViewSettings {
return {
columns: [
'name',
getSerialNoStatusColumn(),
'item',
'description',
'party',
],
};
}
}