Revert "add default payment mode select"

This reverts commit 917423dc0c.
This commit is contained in:
Philippe GRAND 2014-11-28 10:35:02 +01:00
parent 217cacbc29
commit c3d66b037d
2 changed files with 0 additions and 8 deletions

View File

@ -347,10 +347,6 @@ if ($id > 0)
print '</td><td colspan="3">';
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');
}
else

View File

@ -232,10 +232,6 @@ if ($object->fetch($id))
print '</td><td colspan="3">';
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');
}
else