@fayz-ai/plugin-financial 0.31.1 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FinancialPage-FUTZIECP.js → FinancialPage-CQP6KORC.js} +3 -3
- package/dist/{FinancialPage-FUTZIECP.js.map → FinancialPage-CQP6KORC.js.map} +1 -1
- package/dist/{chunk-D4WRL7ST.js → chunk-GQFACLFS.js} +186 -160
- package/dist/chunk-GQFACLFS.js.map +1 -0
- package/dist/components/InvoiceAttachmentsModal.d.ts +6 -1
- package/dist/components/InvoiceAttachmentsModal.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/pt-BR.d.ts.map +1 -1
- package/dist/views/InvoiceFormView.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-D4WRL7ST.js.map +0 -1
|
@@ -2,9 +2,14 @@ import React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* The invoice's attachments (receipts, bills, proofs of payment) on the shared
|
|
4
4
|
* archetype. Storage rules stay in the financial provider.
|
|
5
|
+
*
|
|
6
|
+
* With `installmentNumber` it is that installment's receipts: the list shows
|
|
7
|
+
* only its files and an upload is tagged with it. The files still belong to
|
|
8
|
+
* the invoice, so the invoice-wide modal lists them all.
|
|
5
9
|
*/
|
|
6
|
-
export declare function InvoiceAttachmentsModal({ invoiceId, onClose, onChanged }: {
|
|
10
|
+
export declare function InvoiceAttachmentsModal({ invoiceId, installmentNumber, onClose, onChanged }: {
|
|
7
11
|
invoiceId: string;
|
|
12
|
+
installmentNumber?: number;
|
|
8
13
|
onClose: () => void;
|
|
9
14
|
onChanged?: () => void;
|
|
10
15
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceAttachmentsModal.d.ts","sourceRoot":"","sources":["../../src/components/InvoiceAttachmentsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB
|
|
1
|
+
{"version":3,"file":"InvoiceAttachmentsModal.d.ts","sourceRoot":"","sources":["../../src/components/InvoiceAttachmentsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE;IAC5F,SAAS,EAAE,MAAM,CAAA;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB,qBAyBA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { renderCardChip, BankPicker, renderAccountAvatar, PaymentModal, InvoiceFormView, InvoiceDetailView, ACCOUNTS_ROUTE } from './chunk-
|
|
2
|
-
export { FINANCIAL_INVOICE_ZONES } from './chunk-
|
|
1
|
+
import { renderCardChip, BankPicker, renderAccountAvatar, PaymentModal, InvoiceFormView, InvoiceDetailView, ACCOUNTS_ROUTE } from './chunk-GQFACLFS.js';
|
|
2
|
+
export { FINANCIAL_INVOICE_ZONES } from './chunk-GQFACLFS.js';
|
|
3
3
|
import './chunk-XGBGRXZ3.js';
|
|
4
4
|
import './chunk-7VKJLBYY.js';
|
|
5
5
|
import { FINANCIAL_MODULE_DEFAULTS } from './chunk-POYZFEAN.js';
|
|
@@ -747,6 +747,7 @@ var en = {
|
|
|
747
747
|
"financial.invoiceForm.paidNeedsMethod": "Tell us the payment method and the account",
|
|
748
748
|
"financial.invoiceForm.willBePaid": "This installment will be settled",
|
|
749
749
|
"financial.invoiceForm.attachFailed": "The bill was saved, but an attachment did not upload",
|
|
750
|
+
"financial.invoiceForm.attachments": "Bill attachments",
|
|
750
751
|
"financial.invoiceForm.attachOnSave": "attached on save",
|
|
751
752
|
"financial.invoiceForm.clear": "Clear",
|
|
752
753
|
"financial.invoiceForm.manageAccounts": "Manage accounts",
|
|
@@ -1841,6 +1842,7 @@ var ptBR = {
|
|
|
1841
1842
|
"financial.invoiceForm.paidNeedsMethod": "Diga a forma de pagamento e a conta",
|
|
1842
1843
|
"financial.invoiceForm.willBePaid": "Esta parcela entra como paga",
|
|
1843
1844
|
"financial.invoiceForm.attachFailed": "A conta foi salva, mas um anexo n\xE3o subiu",
|
|
1845
|
+
"financial.invoiceForm.attachments": "Anexos da conta",
|
|
1844
1846
|
"financial.invoiceForm.attachOnSave": "anexa ao salvar",
|
|
1845
1847
|
"financial.invoiceForm.clear": "Limpar",
|
|
1846
1848
|
"financial.invoiceForm.manageAccounts": "Gerenciar contas",
|
|
@@ -6292,7 +6294,7 @@ function createFinancialPlugin(options) {
|
|
|
6292
6294
|
locales: financialLocales
|
|
6293
6295
|
};
|
|
6294
6296
|
}
|
|
6295
|
-
var FinancialPage = React3__default.lazy(() => import('./FinancialPage-
|
|
6297
|
+
var FinancialPage = React3__default.lazy(() => import('./FinancialPage-CQP6KORC.js').then((m) => ({ default: m.FinancialPage })));
|
|
6296
6298
|
var FinancialGeneralSettings = lazyComponent(() => import('./FinancialGeneralSettings-WXJOCJPZ.js').then((m) => m.FinancialGeneralSettings));
|
|
6297
6299
|
var CommissionRulesView = lazyComponent(() => import('./CommissionRulesView-B3EFOJHX.js').then((m) => m.CommissionRulesView));
|
|
6298
6300
|
var PersonStatementWidget = lazyComponent(() => import('./PersonStatementWidget-GDRVYVWD.js').then((m) => m.PersonStatementWidget));
|