@hitsoft/e-donusum 1.0.69 → 1.0.71

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.
@@ -8397,9 +8397,11 @@ class HitXsltFormatComponent {
8397
8397
  fileName: [fileName ?? null, [Validators.required, Validators.maxLength(64)]],
8398
8398
  isDefault: [isDefault ?? false, []],
8399
8399
  });
8400
+ this.selectedFile = null;
8400
8401
  }
8401
8402
  hideForm() {
8402
8403
  this.isModalOpen = false;
8404
+ this.selectedFile = null;
8403
8405
  this.form.reset();
8404
8406
  }
8405
8407
  showForm() {
@@ -10539,7 +10541,7 @@ class HitInboundInvoiceComponent {
10539
10541
  buildFormForDocument() {
10540
10542
  console.log(this.branchesDataSource);
10541
10543
  this.formDocument = this.formBuilderForDocument.group({
10542
- selectedBranch: ""
10544
+ selectedBranch: this.branchesDataSource.filter(p => p.isMain)[0].code ?? ""
10543
10545
  });
10544
10546
  }
10545
10547
  openDraftForm(record) {