Fix missing amount css class on boxes
This commit is contained in:
parent
27134a1f91
commit
ac7fb65d04
@ -134,7 +134,7 @@ class box_accountancy_last_manual_entries extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($amount, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ class box_activity extends ModeleBoxes
|
||||
$totalnb += $data[$j]->nb;
|
||||
|
||||
$this->info_box_contents[$line][3] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($data[$j]->Mnttot, 1, $langs, 0, 0, -1, $conf->currency),
|
||||
);
|
||||
$this->info_box_contents[$line][4] = array(
|
||||
@ -262,7 +262,7 @@ class box_activity extends ModeleBoxes
|
||||
$totalnb += $data[$j]->nb;
|
||||
|
||||
$this->info_box_contents[$line][3] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($data[$j]->Mnttot, 1, $langs, 0, 0, -1, $conf->currency),
|
||||
);
|
||||
$this->info_box_contents[$line][4] = array(
|
||||
@ -350,7 +350,7 @@ class box_activity extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][3] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($data[$j]->Mnttot, 1, $langs, 0, 0, -1, $conf->currency)
|
||||
);
|
||||
|
||||
@ -433,7 +433,7 @@ class box_activity extends ModeleBoxes
|
||||
);
|
||||
$totalnb += $data[$j]->nb;
|
||||
$this->info_box_contents[$line][3] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($data[$j]->Mnttot, 1, $langs, 0, 0, -1, $conf->currency),
|
||||
);
|
||||
$this->info_box_contents[$line][4] = array(
|
||||
|
||||
@ -163,7 +163,7 @@ class box_commandes extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -141,8 +141,11 @@ class box_comptes extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries_list.php?id='.$account_static->id.'">'
|
||||
.price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
|
||||
.'</a>',
|
||||
'asis' => 1,
|
||||
);
|
||||
|
||||
$line++;
|
||||
@ -161,7 +164,7 @@ class box_comptes extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="liste_total right nowraponall"',
|
||||
'td' => 'class="liste_total nowraponall right amount"',
|
||||
'text' => price($solde, 0, $langs, 0, -1, -1, $key)
|
||||
);
|
||||
$line++;
|
||||
|
||||
@ -183,7 +183,7 @@ class box_factures_fourn extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -170,7 +170,7 @@ class box_factures_fourn_imp extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="nowraponall right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -219,7 +219,7 @@ class box_funnel_of_prospection extends ModeleBoxes
|
||||
if (!$conf->use_javascript_ajax) {
|
||||
$stringtoprint .= '<tr class="oddeven">';
|
||||
$stringtoprint .= '<td>'.$labelStatus.'</td>';
|
||||
$stringtoprint .= '<td class="right"><a href="list.php?statut='.$status.'">'.price((isset($valsamount[$status]) ? (float) $valsamount[$status] : 0), 0, '', 1, -1, -1, $conf->currency).'</a></td>';
|
||||
$stringtoprint .= '<td class="nowraponall right amount"><a href="list.php?statut='.$status.'">'.price((isset($valsamount[$status]) ? (float) $valsamount[$status] : 0), 0, '', 1, -1, -1, $conf->currency).'</a></td>';
|
||||
$stringtoprint .= "</tr>\n";
|
||||
}
|
||||
}
|
||||
@ -277,7 +277,7 @@ class box_funnel_of_prospection extends ModeleBoxes
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'tr' => 'class="oddeven"',
|
||||
'td' => 'class="right "',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'maxlength' => 500,
|
||||
'text' => price($totalamount, 0, '', 1, -1, -1, $conf->currency)
|
||||
);
|
||||
@ -290,7 +290,7 @@ class box_funnel_of_prospection extends ModeleBoxes
|
||||
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right "',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'maxlength' => 500,
|
||||
'text' => price(price2num($ponderated_opp_amount, 'MT'), 0, '', 1, -1, -1, $conf->currency)
|
||||
);
|
||||
|
||||
@ -152,8 +152,8 @@ class box_members_last_subscriptions extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right" width="18"',
|
||||
'text' => '<span class="amount">'.price($obj->subscription).'</span>',
|
||||
'td' => 'class="nowraponall right amount" width="18"',
|
||||
'text' => price($obj->subscription),
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
|
||||
@ -179,12 +179,12 @@ class box_members_subscriptions_by_year extends ModeleBoxes
|
||||
'text' => $Number[$key],
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => '<span class="amount">'.price($value).'</span>',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($value),
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => '<span class="amount">'.price(price2num($value / $Number[$key], 'MT')).'</span>',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price(price2num($value / $Number[$key], 'MT')),
|
||||
);
|
||||
$line++;
|
||||
}
|
||||
@ -204,12 +204,12 @@ class box_members_subscriptions_by_year extends ModeleBoxes
|
||||
'text' => $numb,
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="liste_total right"',
|
||||
'text' => '<span class="amount">'.price($tot).'</span>',
|
||||
'td' => 'class="liste_total nowraponall right amount"',
|
||||
'text' => price($tot),
|
||||
);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="liste_total right"',
|
||||
'text' => '<span class="amount">'.price(price2num($numb > 0 ? ($tot / $numb) : 0, 'MT')).'</span>',
|
||||
'td' => 'class="liste_total nowraponall right amount"',
|
||||
'text' => price(price2num($numb > 0 ? ($tot / $numb) : 0, 'MT')),
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -180,7 +180,7 @@ class box_produits extends ModeleBoxes
|
||||
}
|
||||
}
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => $price,
|
||||
);
|
||||
|
||||
|
||||
@ -187,7 +187,7 @@ class box_produits_alerte_stock extends ModeleBoxes
|
||||
}
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => $price,
|
||||
);
|
||||
|
||||
|
||||
@ -160,7 +160,7 @@ class box_propales extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -147,7 +147,7 @@ class box_supplier_orders extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
@ -151,7 +151,7 @@ class box_supplier_orders_awaiting_reception extends ModeleBoxes
|
||||
);
|
||||
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right nowraponall"',
|
||||
'td' => 'class="nowraponall right amount"',
|
||||
'text' => price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency),
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user