';
print '| '.$langs->trans("BoxTitleLastSupplierBills", $max).' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("DateModificationShort").' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("DateModificationShort").' | ';
print ' | ';
print "
\n";
if ($num)
@@ -507,9 +507,9 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture-
print '';
print $thirdpartystatic->getNomUrl(1, 'supplier', 44);
print ' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
- print ''.price($obj->total_ttc).' | ';
- print ''.dol_print_date($db->jdate($obj->tms), 'day').' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
+ print ''.price($obj->total_ttc).' | ';
+ print ''.dol_print_date($db->jdate($obj->tms), 'day').' | ';
print ''.$facstatic->LibStatut($obj->paye, $obj->fk_statut, 3).' | ';
print '';
$total += $obj->total_ht;
@@ -565,8 +565,8 @@ if (! empty($conf->don->enabled) && $user->rights->societe->lire)
print '';
print '| '.$langs->trans("BoxTitleLastModifiedDonations", $max).' | ';
print ' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("DateModificationShort").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("DateModificationShort").' | ';
print ' | ';
print '
';
if ($num)
@@ -588,8 +588,8 @@ if (! empty($conf->don->enabled) && $user->rights->societe->lire)
print '';
print '| '.$donationstatic->getNomUrl(1).' | ';
print ''.$label.' | ';
- print ''.price($objp->amount).' | ';
- print ''.dol_print_date($db->jdate($objp->dm), 'day').' | ';
+ print ''.price($objp->amount).' | ';
+ print ''.dol_print_date($db->jdate($objp->dm), 'day').' | ';
print ''.$donationstatic->LibStatut($objp->fk_statut, 3).' | ';
print '
';
@@ -638,8 +638,8 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire)
print '';
print '| '.$langs->trans("ContributionsToPay").($num?' '.$num.'':'').' | ';
print ''.$langs->trans("DateDue").' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("Paid").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("Paid").' | ';
print ' | ';
print '
';
if ($num)
@@ -658,18 +658,18 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire)
print '';
print '| '.$chargestatic->getNomUrl(1).' | ';
print ''.dol_print_date($db->jdate($obj->date_ech), 'day').' | ';
- print ''.price($obj->amount).' | ';
- print ''.price($obj->sumpaid).' | ';
+ print ''.price($obj->amount).' | ';
+ print ''.price($obj->sumpaid).' | ';
print ''.$chargestatic->getLibStatut(3).' | ';
print '
';
$tot_ttc+=$obj->amount;
$i++;
}
- print '| '.$langs->trans("Total").' | ';
- print ''.price($tot_ttc).' | ';
- print ' | ';
- print ' | ';
+ print '
| '.$langs->trans("Total").' | ';
+ print ''.price($tot_ttc).' | ';
+ print ' | ';
+ print ' | ';
print '
';
}
else
@@ -729,9 +729,9 @@ if (! empty($conf->facture->enabled) && ! empty($conf->commande->enabled) && $us
print '';
print "";
print '| '.$langs->trans("OrdersDeliveredToBill").' '.$num.' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("ToBill").' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("ToBill").' | ';
print ' | ';
print '
';
@@ -765,7 +765,7 @@ if (! empty($conf->facture->enabled) && ! empty($conf->commande->enabled) && $us
print '';
print ' ';
print ' | ';
- print '';
+ print ' | ';
$filename=dol_sanitizeFileName($obj->ref);
$filedir=$conf->commande->dir_output . '/' . dol_sanitizeFileName($obj->ref);
$urlsource=$_SERVER['PHP_SELF'].'?id='.$obj->rowid;
@@ -777,9 +777,9 @@ if (! empty($conf->facture->enabled) && ! empty($conf->commande->enabled) && $us
print ' | ';
print $societestatic->getNomUrl(1, 'customer', 44);
print ' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
- print ''.price($obj->total_ttc).' | ';
- print ''.price($obj->total_ttc-$obj->tot_fttc).' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
+ print ''.price($obj->total_ttc).' | ';
+ print ''.price($obj->total_ttc-$obj->tot_fttc).' | ';
print ''.$commandestatic->LibStatut($obj->fk_statut, $obj->facture, 3).' | ';
print '';
$tot_ht += $obj->total_ht;
@@ -790,9 +790,9 @@ if (! empty($conf->facture->enabled) && ! empty($conf->commande->enabled) && $us
}
print '| '.$langs->trans("Total").' ('.$langs->trans("RemainderToBill").': '.price($tot_tobill).') | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($tot_ht).' | ';
- print ''.price($tot_ttc).' | ';
- print ''.price($tot_tobill).' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($tot_ht).' | ';
+ print ''.price($tot_ttc).' | ';
+ print ''.price($tot_tobill).' | ';
print ' | ';
print '
';
print '
';
@@ -844,10 +844,10 @@ if (! empty($conf->facture->enabled) && $user->rights->facture->lire)
print '';
print '
';
print '| '.$langs->trans("BillsCustomersUnpaid", $num).' '.$num.' | ';
- print ''.$langs->trans("DateDue").' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("Received").' | ';
+ print ''.$langs->trans("DateDue").' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("Received").' | ';
print ' | ';
print '
';
if ($num)
@@ -890,7 +890,7 @@ if (! empty($conf->facture->enabled) && $user->rights->facture->lire)
print img_warning($langs->trans("Late"));
}
print '';
- print '';
+ print ' | ';
$filename=dol_sanitizeFileName($obj->ref);
$filedir=$conf->facture->dir_output . '/' . dol_sanitizeFileName($obj->ref);
$urlsource=$_SERVER['PHP_SELF'].'?facid='.$obj->rowid;
@@ -901,10 +901,10 @@ if (! empty($conf->facture->enabled) && $user->rights->facture->lire)
print ' | ' ;
print $societestatic->getNomUrl(1, 'customer', 44);
print ' | ';
- print ''.dol_print_date($db->jdate($obj->datelimite), 'day').' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
- print ''.price($obj->total_ttc).' | ';
- print ''.price($obj->am).' | ';
+ print ''.dol_print_date($db->jdate($obj->datelimite), 'day').' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
+ print ''.price($obj->total_ttc).' | ';
+ print ''.price($obj->am).' | ';
print ''.$facstatic->LibStatut($obj->paye, $obj->fk_statut, 3, $obj->am).' | ';
print '';
@@ -917,9 +917,9 @@ if (! empty($conf->facture->enabled) && $user->rights->facture->lire)
print '| '.$langs->trans("Total").' ('.$langs->trans("RemainderToTake").': '.price($total_ttc-$totalam).') | ';
print ' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($total).' | ';
- print ''.price($total_ttc).' | ';
- print ''.price($totalam).' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($total).' | ';
+ print ''.price($total_ttc).' | ';
+ print ''.price($totalam).' | ';
print ' | ';
print '
';
}
@@ -978,10 +978,10 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture-
print '';
print '
';
print '| '.$langs->trans("BillsSuppliersUnpaid", $num).' '.$num.' | ';
- print ''.$langs->trans("DateDue").' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
- print ''.$langs->trans("AmountTTC").' | ';
- print ''.$langs->trans("Paid").' | ';
+ print ''.$langs->trans("DateDue").' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.$langs->trans("AmountHT").' | ';
+ print ''.$langs->trans("AmountTTC").' | ';
+ print ''.$langs->trans("Paid").' | ';
print ' | ';
print "
\n";
$societestatic = new Societe($db);
@@ -1013,10 +1013,10 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture-
print $facstatic->getNomUrl(1, '');
print '';
print ''.$societestatic->getNomUrl(1, 'supplier', 44).' | ';
- print ''.dol_print_date($db->jdate($obj->date_lim_reglement), 'day').' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
- print ''.price($obj->total_ttc).' | ';
- print ''.price($obj->am).' | ';
+ print ''.dol_print_date($db->jdate($obj->date_lim_reglement), 'day').' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($obj->total_ht).' | ';
+ print ''.price($obj->total_ttc).' | ';
+ print ''.price($obj->am).' | ';
print ''.$facstatic->LibStatut($obj->paye, $obj->fk_statut, 3).' | ';
print '';
$total += $obj->total_ht;
@@ -1027,9 +1027,9 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture-
print '| '.$langs->trans("Total").' ('.$langs->trans("RemainderToPay").': '.price($total_ttc-$totalam).') | ';
print ' | ';
- if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($total).' | ';
- print ''.price($total_ttc).' | ';
- print ''.price($totalam).' | ';
+ if (! empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print ''.price($total).' | ';
+ print ''.price($total_ttc).' | ';
+ print ''.price($totalam).' | ';
print ' | ';
print '
';
}