2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +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',
],
};