mirror of
https://github.com/frappe/books.git
synced 2025-01-11 02:36:14 +00:00
17 lines
393 B
TypeScript
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',
|
|
],
|
|
};
|
|
}
|
|
} |