Revert "add default payment mode select"
This reverts commit 917423dc0c.
This commit is contained in:
parent
217cacbc29
commit
c3d66b037d
@ -347,10 +347,6 @@ if ($id > 0)
|
|||||||
print '</td><td colspan="3">';
|
print '</td><td colspan="3">';
|
||||||
if ($action == 'editmode')
|
if ($action == 'editmode')
|
||||||
{
|
{
|
||||||
if (empty($object->mode_reglement_id))
|
|
||||||
{
|
|
||||||
$object->mode_reglement_id=$conf->global->MAIN_PAYMENT_MODE_DEFAULT;
|
|
||||||
}
|
|
||||||
$form->form_modes_reglement($_SERVER['PHP_SELF'].'?socid='.$object->id,$object->mode_reglement_id,'mode_reglement_id');
|
$form->form_modes_reglement($_SERVER['PHP_SELF'].'?socid='.$object->id,$object->mode_reglement_id,'mode_reglement_id');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -232,10 +232,6 @@ if ($object->fetch($id))
|
|||||||
print '</td><td colspan="3">';
|
print '</td><td colspan="3">';
|
||||||
if ($action == 'editmode')
|
if ($action == 'editmode')
|
||||||
{
|
{
|
||||||
if (empty($object->mode_reglement_supplier_id))
|
|
||||||
{
|
|
||||||
$object->mode_reglement_supplier_id=$conf->global->MAIN_PAYMENT_MODE_DEFAULT;
|
|
||||||
}
|
|
||||||
$form->form_modes_reglement($_SERVER['PHP_SELF'].'?socid='.$object->id,$object->mode_reglement_supplier_id,'mode_reglement_supplier_id');
|
$form->form_modes_reglement($_SERVER['PHP_SELF'].'?socid='.$object->id,$object->mode_reglement_supplier_id,'mode_reglement_supplier_id');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user