mirror of
https://github.com/frappe/books.git
synced 2024-11-08 23:00:56 +00:00
21 lines
495 B
TypeScript
21 lines
495 B
TypeScript
|
import { ListViewSettings } from 'fyo/model/types';
|
||
|
import { getTransactionStatusColumn } from 'models/helpers';
|
||
|
import { ShipmentItem } from './ShipmentItem';
|
||
|
import { StockTransfer } from './StockTransfer';
|
||
|
|
||
|
export class Shipment extends StockTransfer {
|
||
|
items?: ShipmentItem[];
|
||
|
|
||
|
static getListViewSettings(): ListViewSettings {
|
||
|
return {
|
||
|
columns: [
|
||
|
'name',
|
||
|
getTransactionStatusColumn(),
|
||
|
'party',
|
||
|
'date',
|
||
|
'grandTotal',
|
||
|
],
|
||
|
};
|
||
|
}
|
||
|
}
|