Add alert for outstanding bill
This commit is contained in:
parent
1e008ede3c
commit
0aba9b02b8
@ -2314,12 +2314,14 @@ if ($action == 'create')
|
|||||||
|
|
||||||
if ($soc->outstanding_limit)
|
if ($soc->outstanding_limit)
|
||||||
{
|
{
|
||||||
|
$outstandigBills=$soc->get_OutstandingBill();
|
||||||
// Outstanding Bill
|
// Outstanding Bill
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print $langs->trans('OutstandingBill');
|
print $langs->trans('OutstandingBill');
|
||||||
print '</td><td align=right>';
|
print '</td><td align=right>';
|
||||||
print price($soc->get_OutstandingBill()).' / ';
|
print price($outstandigBills);
|
||||||
print price($soc->outstanding_limit).'</td><td colspan=2>';
|
if (price($outstandigBills)>price($soc->outstanding_limit)) print img_warning($langs->trans("OutstandingBillReached"));
|
||||||
|
print ' / '.price($soc->outstanding_limit).'</td><td colspan=2>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -399,6 +399,7 @@ ActivityCeased=Closed
|
|||||||
ActivityStateFilter=Activity status
|
ActivityStateFilter=Activity status
|
||||||
ProductsIntoElements=List of products into
|
ProductsIntoElements=List of products into
|
||||||
OutstandingBill=Max. for outstanding bill
|
OutstandingBill=Max. for outstanding bill
|
||||||
|
OutstandingBillReached=Reached max. for outstanding bill
|
||||||
# Monkey
|
# Monkey
|
||||||
MonkeyNumRefModelDesc=Return numero with format %syymm-nnnn for customer code and %syymm-nnnn for supplier code where yy is year, mm is month and nnnn is a sequence with no break and no return to 0.
|
MonkeyNumRefModelDesc=Return numero with format %syymm-nnnn for customer code and %syymm-nnnn for supplier code where yy is year, mm is month and nnnn is a sequence with no break and no return to 0.
|
||||||
# Leopard
|
# Leopard
|
||||||
|
|||||||
@ -399,6 +399,7 @@ ActivityCeased=Cerrado
|
|||||||
ActivityStateFilter=Estado de actividad
|
ActivityStateFilter=Estado de actividad
|
||||||
ProductsIntoElements=Listado de productos en %s
|
ProductsIntoElements=Listado de productos en %s
|
||||||
OutstandingBill=Importe máximo para facturas pendientes
|
OutstandingBill=Importe máximo para facturas pendientes
|
||||||
|
OutstandingBillReached=Importe máximo alcanzado
|
||||||
# Monkey
|
# Monkey
|
||||||
MonkeyNumRefModelDesc=Devuelve un número bajo el formato %syymm-nnnn para los códigos de clientes y %syymm-nnnn para los códigos de los proveedores, donde yy es el año, mm el mes y nnnn un contador secuencial sin ruptura y sin volver a 0.
|
MonkeyNumRefModelDesc=Devuelve un número bajo el formato %syymm-nnnn para los códigos de clientes y %syymm-nnnn para los códigos de los proveedores, donde yy es el año, mm el mes y nnnn un contador secuencial sin ruptura y sin volver a 0.
|
||||||
# Leopard
|
# Leopard
|
||||||
|
|||||||
@ -399,6 +399,7 @@ ActivityCeased=Clos
|
|||||||
ActivityStateFilter=Statut d'activité
|
ActivityStateFilter=Statut d'activité
|
||||||
ProductsIntoElements=Liste des produits dans les %s
|
ProductsIntoElements=Liste des produits dans les %s
|
||||||
OutstandingBill=Montant max. en attente
|
OutstandingBill=Montant max. en attente
|
||||||
|
OutstandingBillReached=Montant max. endetté
|
||||||
# Monkey
|
# Monkey
|
||||||
MonkeyNumRefModelDesc=Renvoie le numéro sous la forme %syymm-nnnn pour les codes clients et %syymm-nnnn pour les codes fournisseurs où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0.
|
MonkeyNumRefModelDesc=Renvoie le numéro sous la forme %syymm-nnnn pour les codes clients et %syymm-nnnn pour les codes fournisseurs où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0.
|
||||||
# Leopard
|
# Leopard
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user