Skip to content
Snippets Groups Projects
Commit 9afe5245 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge branch 'patch-47' of https://github.com/defrance69/dolibarr into defrance69-patch-47

parents ad1c2ed0 c3bf3c45
No related branches found
No related tags found
No related merge requests found
......@@ -396,6 +396,10 @@ if ($id > 0)
print $form->editfieldkey("OutstandingBill",'OutstandingBill',$object->outstanding_limit,$object,$user->rights->societe->creer);
print '</td><td colspan="3">';
print $form->editfieldval("OutstandingBill",'OutstandingBill',$object->outstanding_limit,$object,$user->rights->societe->creer,'amount',($object->outstanding_limit != '' ? price($object->outstanding_limit) : ''));
// display amount and link to unpaid bill
$outstandigBills = $object->get_OutstandingBill();
if ($outstandigBills != 0)
print " / <a href='".DOL_URL_ROOT."/compta/facture/list.php?socid=".$object->id."&search_status=1'>".price($outstandigBills).'</a>';
print '</td>';
print '</tr>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment