|
@@ -230,7 +230,7 @@ discard block |
|
|
block discarded – undo |
|
230
|
230
|
print '<td>' . $pilot->getCountForType('orga_T6')->getCount() . '</td>'; |
|
231
|
231
|
print '<td>' . $pilot->getCountForType('orga_T6')->getCost()->getValue() . '</td>'; |
|
232
|
232
|
|
|
233
|
|
- print sprintf('<td class="%s">', $pilot->getFlightBonus()->getValue() === 0?'text-muted':'text-bold'). $pilot->getFlightBonus()->getValue() . ' pts</td>'; |
|
|
233
|
+ print sprintf('<td class="%s">', $pilot->getFlightBonus()->getValue() === 0 ? 'text-muted' : 'text-bold') . $pilot->getFlightBonus()->getValue() . ' pts</td>'; |
|
234
|
234
|
|
|
235
|
235
|
print '<td>' . $pilot->getCountForType('3')->getCount() . '</td>'; |
|
236
|
236
|
print '<td>' . price($pilot->getCountForType('3')->getCost()->getValue()) . '€</td>'; |
|
@@ -249,8 +249,8 @@ discard block |
|
|
block discarded – undo |
|
249
|
249
|
print '<td>' . price($pilot->getCountForType('damage')->getCost()->getValue()) . '€</td>'; |
|
250
|
250
|
print '<td>' . price($pilot->getCountForType('invoiced_damage')->getCost()->getValue()) . '€</td>'; |
|
251
|
251
|
|
|
252
|
|
- print sprintf('<td class="%s">', $pilot->getFlightsCost()->getValue() === 0?'text-muted':'text-bold'). price($pilot->getFlightsCost()->getValue()) . '€ </td>'; |
|
253
|
|
- print sprintf('<td class="%s">', $pilot->isBillable(FlightBonus::zero())?'text-bold':'text-muted'). price($pilot->getTotalBill()->getValue()) . '€</td>'; |
|
|
252
|
+ print sprintf('<td class="%s">', $pilot->getFlightsCost()->getValue() === 0 ? 'text-muted' : 'text-bold') . price($pilot->getFlightsCost()->getValue()) . '€ </td>'; |
|
|
253
|
+ print sprintf('<td class="%s">', $pilot->isBillable(FlightBonus::zero()) ? 'text-bold' : 'text-muted') . price($pilot->getTotalBill()->getValue()) . '€</td>'; |
|
254
|
254
|
print '</tr>'; |
|
255
|
255
|
} |
|
256
|
256
|
|
|
@@ -275,7 +275,7 @@ discard block |
|
|
block discarded – undo |
|
275
|
275
|
print '<td>' . $totalT3 . '</td>'; |
|
276
|
276
|
print '<td></td>'; |
|
277
|
277
|
|
|
278
|
|
-print '<td>' . $totalT4. '</td>'; |
|
|
278
|
+print '<td>' . $totalT4 . '</td>'; |
|
279
|
279
|
print '<td></td>'; |
|
280
|
280
|
|
|
281
|
281
|
print '<td>' . $totalT5 . '</td>'; |
|
@@ -304,7 +304,7 @@ discard block |
|
|
block discarded – undo |
|
304
|
304
|
//table km |
|
305
|
305
|
$tauxRemb = isset($conf->global->BBC_FLIGHT_LOG_TAUX_REMB_KM) ? $conf->global->BBC_FLIGHT_LOG_TAUX_REMB_KM : 0; |
|
306
|
306
|
$year = GETPOST("year", 'int'); |
|
307
|
|
-if(empty($year)){ |
|
|
307
|
+if (empty($year)) { |
|
308
|
308
|
$year = date('Y'); |
|
309
|
309
|
} |
|
310
|
310
|
|