This commit is contained in:
parent
c928274e24
commit
1456da58f5
|
@ -73,15 +73,6 @@ class Controller extends Dialog {
|
||||||
const accountingType = value.accountingType;
|
const accountingType = value.accountingType;
|
||||||
|
|
||||||
this.receipt.description = [];
|
this.receipt.description = [];
|
||||||
<<<<<<< HEAD
|
|
||||||
if (accountingType.receiptDescription != null && accountingType.receiptDescription != '')
|
|
||||||
this.receipt.description.push(accountingType.receiptDescription);
|
|
||||||
if (this.originalDescription)
|
|
||||||
this.receipt.description.push(this.originalDescription);
|
|
||||||
|
|
||||||
this.receipt.description = this.receipt.description.join(', ').toString();
|
|
||||||
|
|
||||||
=======
|
|
||||||
this.viewReceipt = accountingType.code == 'cash';
|
this.viewReceipt = accountingType.code == 'cash';
|
||||||
if (accountingType.code == 'compensation')
|
if (accountingType.code == 'compensation')
|
||||||
this.receipt.description = '';
|
this.receipt.description = '';
|
||||||
|
@ -92,7 +83,6 @@ class Controller extends Dialog {
|
||||||
this.receipt.description.push(this.originalDescription);
|
this.receipt.description.push(this.originalDescription);
|
||||||
this.receipt.description = this.receipt.description.join(', ');
|
this.receipt.description = this.receipt.description.join(', ');
|
||||||
}
|
}
|
||||||
>>>>>>> dev
|
|
||||||
this.maxAmount = accountingType && accountingType.maxAmount;
|
this.maxAmount = accountingType && accountingType.maxAmount;
|
||||||
|
|
||||||
this.receipt.payed = Date.vnNew();
|
this.receipt.payed = Date.vnNew();
|
||||||
|
|
Loading…
Reference in New Issue