mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Fix price style
This commit is contained in:
@@ -2240,7 +2240,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
}
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td class="liste_titre"><input type="text" class="flat" name="search_soc" value="'.$search_soc.'" size="20"></td>';
|
||||
print '<td class="liste_titre"><input type="text" class="flat maxwidth125" name="search_soc" value="'.$search_soc.'"></td>';
|
||||
print '<td class="liste_titre" colspan="'.$colspan.'"> </td>';
|
||||
// Print the search button
|
||||
print '<td class="liste_titre maxwidthsearch">';
|
||||
@@ -2252,7 +2252,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("ThirdParty").'</td>';
|
||||
print '<td>' . $langs->trans('RefCustomer') . '</td>';
|
||||
print '<td>'.$langs->trans('RefCustomer').'</td>';
|
||||
print '<td>'.$langs->trans("AppliedPricesFrom").'</td>';
|
||||
print '<td class="center">'.$langs->trans("PriceBase").'</td>';
|
||||
print '<td class="right">'.$langs->trans("DefaultTaxRate").'</td>';
|
||||
@@ -2289,6 +2289,8 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
print '<td colspan="3">' . $langs->trans('Default') . '</td>';
|
||||
|
||||
print '<td class="center">'.$langs->trans($object->price_base_type)."</td>";
|
||||
|
||||
// VAT Rate
|
||||
print '<td class="right">';
|
||||
|
||||
$positiverates = '';
|
||||
@@ -2310,12 +2312,12 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
//print $object->default_vat_code?' ('.$object->default_vat_code.')':'';
|
||||
print "</td>";
|
||||
|
||||
print '<td class="right">'.price($object->price)."</td>";
|
||||
print '<td class="right"><span class="amount">'.price($object->price)."</span></td>";
|
||||
|
||||
print '<td class="right">'.price($object->price_ttc)."</td>";
|
||||
print '<td class="right"><span class="amount">'.price($object->price_ttc)."</span></td>";
|
||||
if ($mysoc->localtax1_assuj == "1" || $mysoc->localtax2_assuj == "1") {
|
||||
//print '<td class="right">' . price($object->price_ttc) . "</td>";
|
||||
print '<td class="right">'.price($resultarray[2]).'</td>';
|
||||
print '<td class="right"><span class="amount">'.price($resultarray[2]).'</span></td>';
|
||||
}
|
||||
|
||||
print '<td class="right">'.price($object->price_min).'</td>';
|
||||
@@ -2367,6 +2369,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
print '<td>'.dol_escape_htmltag($line->ref_customer).'</td>';
|
||||
print "<td>".dol_print_date($line->datec, "dayhour", 'tzuserrel')."</td>";
|
||||
print '<td class="center">'.$langs->trans($line->price_base_type)."</td>";
|
||||
// VAT Rate
|
||||
print '<td class="right">';
|
||||
|
||||
$positiverates = '';
|
||||
@@ -2386,12 +2389,13 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
echo vatrate($positiverates.($line->default_vat_code ? ' ('.$line->default_vat_code.')' : ''), '%', ($line->tva_npr ? $line->tva_npr : $line->recuperableonly));
|
||||
|
||||
print "</td>";
|
||||
|
||||
print '<td class="right"><span class="amount">'.price($line->price)."</span></td>";
|
||||
|
||||
print '<td class="right"><span class="amount">'.price($line->price_ttc)."</span></td>";
|
||||
if ($mysoc->localtax1_assuj == "1" || $mysoc->localtax2_assuj == "1") {
|
||||
//print '<td class="right">' . price($line->price_ttc) . "</td>";
|
||||
print '<td class="right">'.price($resultarray[2]).'</td>';
|
||||
print '<td class="right"><span class="amount">'.price($resultarray[2]).'</span></td>';
|
||||
}
|
||||
|
||||
print '<td class="right">'.price($line->price_min).'</td>';
|
||||
|
||||
Reference in New Issue
Block a user