Completed
Push — master ( c2d14e...abe7b9 )
by Laurent
02:09
created
generateBilling.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 $adherent = new Adherent($db);
110 110
                 $adherent->fetch($expenseNoteUser->fk_member);
111 111
 
112
-                $addBonus = (int)$additionalBonus[$currentMissionUserId];
112
+                $addBonus = (int) $additionalBonus[$currentMissionUserId];
113 113
                 if ($addBonus < 0) {
114 114
                     dol_htmloutput_mesg("Facture ignorée " . $adherent->getFullName($langs), '', 'warning');
115 115
                     continue;
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
                 $object->insert_discount($discountid);
336 336
 
337 337
                 //Additional bonus
338
-                if ((int)$addBonus > 0) {
338
+                if ((int) $addBonus > 0) {
339 339
 
340 340
                     $pu_ht = price2num($addBonus, 'MU');
341 341
 
Please login to merge, or discard this patch.