Fix phpcs
This commit is contained in:
parent
b2eee520df
commit
3578c7cb0a
@ -512,7 +512,6 @@ if (! is_array($x_coll) || ! is_array($x_paye))
|
|||||||
$subtot_coll_vat += $temp_vat;
|
$subtot_coll_vat += $temp_vat;
|
||||||
$x_coll_sum += $temp_vat;
|
$x_coll_sum += $temp_vat;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// Total customers for this vat rate
|
// Total customers for this vat rate
|
||||||
print '<tr class="liste_total">';
|
print '<tr class="liste_total">';
|
||||||
@ -670,9 +669,12 @@ if (! is_array($x_coll) || ! is_array($x_paye))
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (($type == 0 && $conf->global->TAX_MODE_BUY_PRODUCT == 'invoice')
|
if (($type == 0 && $conf->global->TAX_MODE_BUY_PRODUCT == 'invoice')
|
||||||
|| ($type == 1 && $conf->global->TAX_MODE_BUY_SERVICE == 'invoice')) {
|
|| ($type == 1 && $conf->global->TAX_MODE_BUY_SERVICE == 'invoice'))
|
||||||
|
{
|
||||||
print $langs->trans("NA");
|
print $langs->trans("NA");
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
if (isset($fields['payment_amount']) && $fields['ftotal_ttc']) {
|
if (isset($fields['payment_amount']) && $fields['ftotal_ttc']) {
|
||||||
$ratiopaymentinvoice = ($fields['payment_amount'] / $fields['ftotal_ttc']);
|
$ratiopaymentinvoice = ($fields['payment_amount'] / $fields['ftotal_ttc']);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,7 +26,6 @@
|
|||||||
* \brief Page for trip and expense report card
|
* \brief Page for trip and expense report card
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$res=0;
|
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php';
|
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT . '/core/class/CMailFile.class.php';
|
require_once DOL_DOCUMENT_ROOT . '/core/class/CMailFile.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user