Avoid (DEPOSIT) (1) & (2) descriptions
When splitting a rebate into two parts, the word "DEPOSIT" is no longer translated on the invoices.
This commit is contained in:
parent
e8767122b0
commit
89716a86a5
@ -92,7 +92,7 @@ if ($action == 'confirm_split' && GETPOST("confirm") == 'yes')
|
||||
$newdiscount2->fk_facture=$discount->fk_facture;
|
||||
$newdiscount1->fk_facture_line=$discount->fk_facture_line;
|
||||
$newdiscount2->fk_facture_line=$discount->fk_facture_line;
|
||||
if ($discount->description == '(CREDIT_NOTE)')
|
||||
if ($discount->description == '(CREDIT_NOTE)' || $discount->description == '(DEPOSIT)')
|
||||
{
|
||||
$newdiscount1->description=$discount->description;
|
||||
$newdiscount2->description=$discount->description;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user