fas-admin 0.0.111 → 0.0.113
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/api/api-services/gus-company-data.service.d.ts +14 -0
- package/api/gus-company-data-vm.model.d.ts +9 -0
- package/esm2022/api/api-services/gus-company-data.service.mjs +38 -0
- package/esm2022/api/gus-company-data-vm.model.mjs +2 -0
- package/esm2022/lib/components/views/users/users-invoice-data/users-invoice-data.component.mjs +55 -3
- package/fesm2022/fas-admin.mjs +86 -2
- package/fesm2022/fas-admin.mjs.map +1 -1
- package/lib/components/views/users/users-invoice-data/users-invoice-data.component.d.ts +7 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface CompanyInvoiceDataRow {
|
|
|
6
6
|
vm: IPlatformUserCompanyInvoiceDataVm;
|
|
7
7
|
form: FormGroup;
|
|
8
8
|
saving: boolean;
|
|
9
|
+
gusLoading: boolean;
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* Zakładka "Dane do faktury" w szczegółach użytkownika: dane do faktury każdej firmy,
|
|
@@ -15,6 +16,7 @@ interface CompanyInvoiceDataRow {
|
|
|
15
16
|
export declare class UsersInvoiceDataComponent implements OnChanges {
|
|
16
17
|
userGuid: string;
|
|
17
18
|
private _platformUserInvoiceDataService;
|
|
19
|
+
private _gusCompanyDataService;
|
|
18
20
|
private _messageService;
|
|
19
21
|
private _fb;
|
|
20
22
|
loading: boolean;
|
|
@@ -24,6 +26,11 @@ export declare class UsersInvoiceDataComponent implements OnChanges {
|
|
|
24
26
|
private buildForm;
|
|
25
27
|
save(row: CompanyInvoiceDataRow): void;
|
|
26
28
|
cancel(row: CompanyInvoiceDataRow): void;
|
|
29
|
+
/**
|
|
30
|
+
* Wypełnia formularz danymi rejestrowymi z GUS po NIP-ie wpisanym w formularzu -
|
|
31
|
+
* operator uzupełniający dane za użytkownika nie musi przepisywać ich ręcznie.
|
|
32
|
+
*/
|
|
33
|
+
fillFromGus(row: CompanyInvoiceDataRow): void;
|
|
27
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsersInvoiceDataComponent, never>;
|
|
28
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<UsersInvoiceDataComponent, "lib-users-invoice-data", never, { "userGuid": { "alias": "userGuid"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
36
|
}
|