Update fiche.php
This commit is contained in:
parent
1f503948a8
commit
7e9fb00f11
@ -128,6 +128,14 @@ if ($action == 'cstc')
|
|||||||
if ($result < 0) setEventMessage($object->error,'errors');
|
if ($result < 0) setEventMessage($object->error,'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update communication level
|
||||||
|
if ($action == 'setOutstandingBill')
|
||||||
|
{
|
||||||
|
$object->fetch($id);
|
||||||
|
$object->stcomm_id=GETPOST('OutstandingBill');
|
||||||
|
$result=$object->set_OutstandingBill($user);
|
||||||
|
if ($result < 0) setEventMessage($object->error,'errors');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -369,6 +377,18 @@ if ($id > 0)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
if ($object->client)
|
||||||
|
{
|
||||||
|
print '<tr>';
|
||||||
|
print '<td>';
|
||||||
|
print $form->editfieldkey("OutstandingBill",'OutstandingBill',$object->outstanding,$object,$user->rights->societe->creer);
|
||||||
|
print '</td><td colspan="3">';
|
||||||
|
print $form->editfieldval("OutstandingBill",'OutstandingBill',$object->outstanding,$object,$user->rights->societe->creer);
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Multiprice level
|
// Multiprice level
|
||||||
if (! empty($conf->global->PRODUIT_MULTIPRICES))
|
if (! empty($conf->global->PRODUIT_MULTIPRICES))
|
||||||
{
|
{
|
||||||
@ -898,4 +918,4 @@ dol_htmloutput_mesg('',$mesgs);
|
|||||||
// End of page
|
// End of page
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user