forked from adempiere/adempiere-vue
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: (Transcoding)
Payment Allocation
form.
- List Payments. - List Invoices.
- Loading branch information
1 parent
dfb0dd4
commit 36b5312
Showing
7 changed files
with
125 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution | ||
* Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. www.erpya.com | ||
* Copyright (C) 2018-Present E.R.P. Consultores y Asociados, C.A. www.erpya.com | ||
* Contributor(s): Elsio Sanchez [email protected] https://github.com/elsiosanchez | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -18,9 +18,9 @@ | |
|
||
// API Request Methods | ||
import { | ||
process, | ||
listPayments, | ||
listInvoices | ||
requestProcess, | ||
requestListPayments, | ||
requestListInvoices | ||
} from '@/api/ADempiere/form/VAllocation.js' | ||
|
||
// Utils and Helper Methods | ||
|
@@ -81,6 +81,7 @@ const VAllocation = { | |
|
||
export default { | ||
state: VAllocation, | ||
|
||
mutations: { | ||
setSearchCriteria(state, structure) { | ||
state.searchCriteria = structure | ||
|
@@ -173,6 +174,7 @@ export default { | |
state.listSelectAll = list | ||
} | ||
}, | ||
|
||
actions: { | ||
findListPayment({ commit, state }) { | ||
return new Promise(resolve => { | ||
|
@@ -193,7 +195,7 @@ export default { | |
criteria: 'isLoadTables', | ||
value: true | ||
}) | ||
listPayments({ | ||
requestListPayments({ | ||
businessPartnerId, | ||
businessPartnerUuid, | ||
date, | ||
|
@@ -259,7 +261,7 @@ export default { | |
criteria: 'isLoadTables', | ||
value: true | ||
}) | ||
listInvoices({ | ||
requestListInvoices({ | ||
businessPartnerId, | ||
businessPartnerUuid, | ||
date, | ||
|
@@ -326,7 +328,7 @@ export default { | |
listInvoce = state.listSelectAll.filter(list => list.type === 'isInvoce') | ||
listPayments = state.listSelectAll.filter(list => list.type === 'isPayment') | ||
} | ||
process({ | ||
requestProcess({ | ||
date, | ||
chargeId, | ||
currencyId, | ||
|
@@ -367,6 +369,7 @@ export default { | |
return | ||
} | ||
}, | ||
|
||
getters: { | ||
getSearchFilter(state) { | ||
return state.searchCriteria | ||
|
Oops, something went wrong.