mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
85 lines
1.6 KiB
JavaScript
85 lines
1.6 KiB
JavaScript
const title = 'Bank Reconciliation';
|
|
module.exports = {
|
|
title: title,
|
|
method: 'bank-reconciliation',
|
|
filterFields: [
|
|
{
|
|
fieldtype: 'Link',
|
|
target: 'Account',
|
|
label: 'Payement Account',
|
|
fieldname: 'paymentAccount',
|
|
getFilters: () => {
|
|
return {
|
|
accountType: 'Bank',
|
|
isGroup: 0
|
|
};
|
|
}
|
|
},
|
|
{
|
|
fieldtype: 'Link',
|
|
target: 'Party',
|
|
label: 'Party',
|
|
fieldname: 'party'
|
|
},
|
|
{
|
|
fieldtype: 'Date',
|
|
label: 'From Date',
|
|
fieldname: 'fromDate'
|
|
},
|
|
{
|
|
fieldtype: 'Date',
|
|
label: 'To Date',
|
|
fieldname: 'toDate'
|
|
}
|
|
],
|
|
getColumns() {
|
|
return [
|
|
{
|
|
label: 'Posting Date',
|
|
fieldtype: 'Date',
|
|
fieldname: 'date'
|
|
},
|
|
{
|
|
label: 'Payment Account',
|
|
fieldtype: 'Link'
|
|
},
|
|
{
|
|
label: 'Debit',
|
|
fieldtype: 'Currency'
|
|
},
|
|
{
|
|
label: 'Credit',
|
|
fieldtype: 'Currency'
|
|
},
|
|
{
|
|
label: 'Balance',
|
|
fieldtype: 'Currency'
|
|
},
|
|
{
|
|
label: 'Ref. Type',
|
|
fieldtype: 'Data',
|
|
fieldname: 'referenceType'
|
|
},
|
|
{
|
|
label: 'Ref. Name',
|
|
fieldtype: 'Data',
|
|
fieldname: 'referenceName'
|
|
},
|
|
{
|
|
label: 'Ref. Date',
|
|
fieldtype: 'Date',
|
|
fieldname: 'referenceDate'
|
|
},
|
|
{
|
|
label: 'Clearance Date',
|
|
fieldtype: 'Date',
|
|
fieldname: 'clearanceDate'
|
|
},
|
|
{
|
|
label: 'Party',
|
|
fieldtype: 'Link'
|
|
}
|
|
];
|
|
}
|
|
};
|