Skip to content
Snippets Groups Projects
Commit c3d66b03 authored by Philippe Grand's avatar Philippe Grand
Browse files

Revert "add default payment mode select"

This reverts commit 917423dc.
parent 217cacbc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
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