@hitsoft/e-donusum 1.0.56 → 1.0.57
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-setup-wizard/hit-setup-wizard.component.mjs +53 -1
- package/esm2020/lib/paramse-dispatches/paramse-dispatch/paramse-dispatch.module.mjs +1 -1
- package/esm2020/lib/paramse-invoices/paramse-invoice/paramse-invoice.module.mjs +1 -1
- package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
- package/esm2020/lib/proxy/gib-partner-pks/index.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/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
- package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +53 -0
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +52 -0
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-setup-wizard/hit-setup-wizard.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -7741,6 +7741,8 @@ class HitSetupWizardComponent {
|
|
|
7741
7741
|
this.updateSetupStatus(this.currentStep.value == 7);
|
|
7742
7742
|
this.currentStep.next(this.nextStepNumber);
|
|
7743
7743
|
this.nextStepValidRefresh();
|
|
7744
|
+
// İleri gidilen adımın formunu backend'den yeniden yükle
|
|
7745
|
+
this.refreshStepForm(this.nextStepNumber);
|
|
7744
7746
|
}
|
|
7745
7747
|
this.loading = false;
|
|
7746
7748
|
}
|
|
@@ -7753,6 +7755,56 @@ class HitSetupWizardComponent {
|
|
|
7753
7755
|
return;
|
|
7754
7756
|
}
|
|
7755
7757
|
this.currentStep.next(prevStep);
|
|
7758
|
+
// Geri gelinen adımın formunu backend'den yeniden yükle
|
|
7759
|
+
this.refreshStepForm(prevStep);
|
|
7760
|
+
}
|
|
7761
|
+
/**
|
|
7762
|
+
* Belirtilen adımın formunu backend'den yeniden yükler
|
|
7763
|
+
* Bu sayede kullanıcı her zaman kaydedilmiş güncel verileri görür
|
|
7764
|
+
*/
|
|
7765
|
+
refreshStepForm(stepIndex) {
|
|
7766
|
+
switch (stepIndex) {
|
|
7767
|
+
case 2:
|
|
7768
|
+
// ParamsCompany formunu yeniden yükle
|
|
7769
|
+
if (this.HitParamsCompanyComponent) {
|
|
7770
|
+
this.HitParamsCompanyComponent.getParamsCompany(true);
|
|
7771
|
+
}
|
|
7772
|
+
break;
|
|
7773
|
+
case 3:
|
|
7774
|
+
// ParamsGeneral Part1 formunu yeniden yükle
|
|
7775
|
+
if (this.HitParamsGeneralPart1Component) {
|
|
7776
|
+
this.HitParamsGeneralPart1Component.getGeneralParams(true);
|
|
7777
|
+
}
|
|
7778
|
+
break;
|
|
7779
|
+
case 4:
|
|
7780
|
+
// ParamsGeneral Part2 formunu yeniden yükle
|
|
7781
|
+
if (this.HitParamsGeneralPart2Component) {
|
|
7782
|
+
this.HitParamsGeneralPart2Component.ngOnInit();
|
|
7783
|
+
}
|
|
7784
|
+
break;
|
|
7785
|
+
case 5:
|
|
7786
|
+
// ParamsIntegrator formunu yeniden yükle
|
|
7787
|
+
if (this.HitParamsIntegratorComponent) {
|
|
7788
|
+
const branchId = this.HitParamsIntegratorComponent.formParamsIntegrator?.controls?.branchId?.value || '';
|
|
7789
|
+
this.HitParamsIntegratorComponent.getParamsIntegrator(true, branchId);
|
|
7790
|
+
}
|
|
7791
|
+
break;
|
|
7792
|
+
case 6:
|
|
7793
|
+
// ParamsInvoice formunu yeniden yükle
|
|
7794
|
+
if (this.HitParamsInvoiceComponent) {
|
|
7795
|
+
this.HitParamsInvoiceComponent.getParamsInvoice(true);
|
|
7796
|
+
}
|
|
7797
|
+
break;
|
|
7798
|
+
case 7:
|
|
7799
|
+
// ParamsDispatch formunu yeniden yükle
|
|
7800
|
+
if (this.HitParamsDispatchComponent) {
|
|
7801
|
+
this.HitParamsDispatchComponent.getParamsDispatch(true);
|
|
7802
|
+
}
|
|
7803
|
+
break;
|
|
7804
|
+
default:
|
|
7805
|
+
// Adım 1 ve 8 için form yükleme gerekmiyor
|
|
7806
|
+
break;
|
|
7807
|
+
}
|
|
7756
7808
|
}
|
|
7757
7809
|
setParamsCompany(value) {
|
|
7758
7810
|
this.paramsCompany = value;
|