From 95a69b5d8e835feb7fb9b94584a25a4d7483f0cb Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Sun, 6 Oct 2013 17:17:51 +0200 Subject: [PATCH] Update fiche.php --- htdocs/comm/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 7752b9c4606..a4e310d5ce7 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -132,7 +132,7 @@ if ($action == 'cstc') if ($action == 'setOutstandingBill') { $object->fetch($id); - $object->outstanding=GETPOST('OutstandingBill'); + $object->outstanding_limit=GETPOST('OutstandingBill'); $result=$object->set_OutstandingBill($user); if ($result < 0) setEventMessage($object->error,'errors'); } @@ -381,9 +381,9 @@ if ($id > 0) { print ''; print ''; - print $form->editfieldkey("OutstandingBill",'OutstandingBill',$object->outstanding,$object,$user->rights->societe->creer); + print $form->editfieldkey("OutstandingBill",'OutstandingBill',$object->outstanding_limit,$object,$user->rights->societe->creer); print ''; - print $form->editfieldval("OutstandingBill",'OutstandingBill',$object->outstanding,$object,$user->rights->societe->creer); + print $form->editfieldval("OutstandingBill",'OutstandingBill',$object->outstanding_limit,$object,$user->rights->societe->creer); print ''; print ''; }