@hitsoft/e-donusum 1.0.18 → 1.0.19
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/esm2020/lib/components/hit-note-rules/hit-note-rule.component.mjs +2 -2
- package/esm2020/lib/despatches/despatch/despatch.module.mjs +1 -1
- package/esm2020/lib/hit-proxy/hit-note-rules/hit-note-rule.service.mjs +5 -1
- package/esm2020/lib/hit-proxy/hit-params-companies/hit-params-company.service.mjs +5 -1
- package/esm2020/lib/invoices/invoice/invoice.module.mjs +1 -1
- package/esm2020/lib/note-rules/note-rule/note-rule.module.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
- package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
- package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
- package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
- package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +9 -1
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +9 -1
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/hit-proxy/hit-note-rules/hit-note-rule.service.d.ts +1 -0
- package/lib/hit-proxy/hit-params-companies/hit-params-company.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6063,6 +6063,10 @@ class HitNoteRulesService {
|
|
|
6063
6063
|
url: `/api/e-donusum/note-rules/hit-note-rule-update/${id}`,
|
|
6064
6064
|
body: input,
|
|
6065
6065
|
}, { apiName: this.apiName });
|
|
6066
|
+
this.delete = (id) => this.restService.request({
|
|
6067
|
+
method: 'DELETE',
|
|
6068
|
+
url: `/api/e-donusum/note-rules/hit-note-rule-delete/${id}`,
|
|
6069
|
+
}, { apiName: this.apiName });
|
|
6066
6070
|
this.LoadDocTypes = this.devexService.createStore({
|
|
6067
6071
|
key: "id",
|
|
6068
6072
|
loadUrl: 'api/e-donusum/note-rules/load-doc-types'
|
|
@@ -6386,7 +6390,7 @@ class HitNoteRuleComponent {
|
|
|
6386
6390
|
.warn('eDonusum::DeleteConfirmationMessage', 'eDonusum::AreYouSure', {
|
|
6387
6391
|
messageLocalizationParams: [],
|
|
6388
6392
|
})
|
|
6389
|
-
.pipe(filter$1(status => status === Confirmation.Status.confirm), switchMap$1(() => this.
|
|
6393
|
+
.pipe(filter$1(status => status === Confirmation.Status.confirm), switchMap$1(() => this.hitNoteRuleService.delete(record.id)))
|
|
6390
6394
|
.subscribe(() => this.dxNoteRuleInstance.instance.refresh());
|
|
6391
6395
|
}
|
|
6392
6396
|
stripHTML(input) {
|
|
@@ -6513,6 +6517,10 @@ class HitParamsCompaniesService {
|
|
|
6513
6517
|
method: 'GET',
|
|
6514
6518
|
url: '/api/e-donusum/params-companies/set-default-xslts',
|
|
6515
6519
|
}, { apiName: this.apiName });
|
|
6520
|
+
this.setDefaultNoteRules = () => this.restService.request({
|
|
6521
|
+
method: 'GET',
|
|
6522
|
+
url: '/api/e-donusum/params-companies/set-default-note-rules',
|
|
6523
|
+
}, { apiName: this.apiName });
|
|
6516
6524
|
}
|
|
6517
6525
|
}
|
|
6518
6526
|
HitParamsCompaniesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitParamsCompaniesService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|