Skip to content
Snippets Groups Projects
Commit 89716a86 authored by Widee's avatar Widee Committed by GitHub
Browse files

Avoid (DEPOSIT) (1) & (2) descriptions

When splitting a rebate into two parts, the word "DEPOSIT" is no longer translated on the invoices.
parent e8767122
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment