231801_test_to_master #1519
|
@ -73,15 +73,6 @@ class Controller extends Dialog {
|
|||
const accountingType = value.accountingType;
|
||||
|
||||
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';
|
||||
if (accountingType.code == 'compensation')
|
||||
this.receipt.description = '';
|
||||
|
@ -92,7 +83,6 @@ class Controller extends Dialog {
|
|||
this.receipt.description.push(this.originalDescription);
|
||||
this.receipt.description = this.receipt.description.join(', ');
|
||||
}
|
||||
>>>>>>> dev
|
||||
this.maxAmount = accountingType && accountingType.maxAmount;
|
||||
|
||||
this.receipt.payed = Date.vnNew();
|
||||
|
|
Loading…
Reference in New Issue