24namespace Noalyss\Widget;
37 return [
'S' =>
_(
"Fournisseurs"),
"C" =>
_(
"Clients")];;
44 return [
'P' =>
_(
"Prochaines factures"),
"R" =>
"facture en retard",
'T'=>
_(
"Aujourd'hui")];
53 $tiers = new \ISelect(
'tiers');
56 foreach ($aTiers as $key=>
$value) {
59 $time_limit = new \ISelect(
'time_limit');
61 $time_limit->value=[];
62 foreach ($aLimit as $key=>
$value) {
63 $time_limit->value[]=[
'value'=>$key,
'label'=>
$value];
66 $input =
_(
"Factures ") .
$tiers->input() .
" " .
_(
"échéance") .
" " . $time_limit->input();
80 echo
'<span class="widget_param">'.$aTiers[$aParam[
'tiers']] .
" " . $aLimit[$aParam[
"time_limit"]].
'</span>';
94 $title = $aTiers[$aParam[
'tiers']] .
" " . $aLimit[$aParam[
"time_limit"]];
98 $acc_ledger = new \Acc_Ledger($this->
db, 0);
101 if ($aParam[
'tiers'] ==
'C') {
105 switch ($aParam[
'time_limit']) {
116 include
"invoice-display.php";
_("actif, passif,charge,...")