forked from verdnatura/salix-front
refactor: refs #6739 changed invoice functions' name
This commit is contained in:
parent
11f6601e17
commit
18e3e611e9
|
@ -37,7 +37,7 @@ const selectedClient = (client) => {
|
||||||
transferInvoiceParams.selectedClientData = client;
|
transferInvoiceParams.selectedClientData = client;
|
||||||
};
|
};
|
||||||
|
|
||||||
const transferInvoice = async () => {
|
const makeInvoice = async () => {
|
||||||
const hasToInvoiceByAddress =
|
const hasToInvoiceByAddress =
|
||||||
transferInvoiceParams.selectedClientData.hasToInvoiceByAddress;
|
transferInvoiceParams.selectedClientData.hasToInvoiceByAddress;
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ const transferInvoice = async () => {
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
<FormPopup
|
<FormPopup
|
||||||
@on-submit="transferInvoice()"
|
@on-submit="makeInvoice()"
|
||||||
:title="t('Transfer invoice')"
|
:title="t('Transfer invoice')"
|
||||||
:custom-submit-button-label="t('Transfer client')"
|
:custom-submit-button-label="t('Transfer client')"
|
||||||
:default-cancel-button="false"
|
:default-cancel-button="false"
|
||||||
|
|
Loading…
Reference in New Issue