2
0
mirror of https://github.com/frappe/books.git synced 2024-11-13 00:46:28 +00:00
books/models/baseModels/PurchaseInvoice/PurchaseInvoiceList.js

17 lines
357 B
JavaScript

import { t } from 'frappe';
import { getStatusColumn } from '../Transaction/Transaction';
export default {
doctype: 'PurchaseInvoice',
title: t`Bills`,
formRoute: (name) => `/edit/PurchaseInvoice/${name}`,
columns: [
'supplier',
'name',
getStatusColumn('PurchaseInvoice'),
'date',
'grandTotal',
'outstandingAmount',
],
};