taxtank-core 3.0.42 → 3.0.44

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.
@@ -7834,7 +7834,7 @@ class TransactionDraft extends Transaction {
7834
7834
  }
7835
7835
  get isDocFile() {
7836
7836
  const fileName = this.file?.originalName ?? this.localFile.originalName ?? '';
7837
- return !/\.(?:doc|docx|csv)$/i.test(fileName.trim());
7837
+ return /\.(?:doc|docx|csv|xlsx|xls)$/i.test(fileName.trim());
7838
7838
  }
7839
7839
  get tankType() {
7840
7840
  return this.chartAccounts?.tankType;
@@ -29438,16 +29438,6 @@ class VehicleLogbookForm extends AbstractForm {
29438
29438
  this.logbook = logbook;
29439
29439
  this.logbooks = logbooks;
29440
29440
  this.includeDisabledFields = true;
29441
- this.get('isPersonal').valueChanges.subscribe(isPersonal => {
29442
- const businessControl = this.get('business');
29443
- if (isPersonal) {
29444
- businessControl.setValue(null);
29445
- businessControl.disable();
29446
- }
29447
- else {
29448
- businessControl.enable();
29449
- }
29450
- });
29451
29441
  this.updateStateAndValidators();
29452
29442
  this.emitValues();
29453
29443
  }