Fix option not used

This commit is contained in:
Laurent Destailleur 2018-06-06 15:28:50 +02:00
parent 28e24de1e9
commit 002181190c

View File

@ -265,13 +265,16 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // What is this for ?
} }
// Minimal amount for force 3Dsecure if it's optionnal // Minimal amount for force 3Dsecure if it's optionnal
print '<tr class="oddeven"><td>'; if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // TODO Not used by current code
print $langs->trans("STRIPE_MINIMAL_3DSECURE").'</td><td>'; {
print '<input class="flat" name="STRIPE_MINIMAL_3DSECURE" size="3" value="' .$conf->global->STRIPE_MINIMAL_3DSECURE . '">'.$langs->getCurrencySymbol($conf->currency).'</td></tr>'; print '<tr class="oddeven"><td>';
print $langs->trans("STRIPE_MINIMAL_3DSECURE").'</td><td>';
print '<input class="flat" name="STRIPE_MINIMAL_3DSECURE" size="3" value="' .$conf->global->STRIPE_MINIMAL_3DSECURE . '">'.$langs->getCurrencySymbol($conf->currency).'</td></tr>';
}
// Warehouse for automatic decrement
if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // What is this for ? if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // What is this for ?
{ {
// Stock for automatic decrement
print '<tr class="oddeven"><td>'; print '<tr class="oddeven"><td>';
print $langs->trans("ONLINE_PAYMENT_WAREHOUSE").'</td><td>'; print $langs->trans("ONLINE_PAYMENT_WAREHOUSE").'</td><td>';
print $formproduct->selectWarehouses($conf->global->ONLINE_PAYMENT_WAREHOUSE,'ONLINE_PAYMENT_WAREHOUSE','',1,$disabled); print $formproduct->selectWarehouses($conf->global->ONLINE_PAYMENT_WAREHOUSE,'ONLINE_PAYMENT_WAREHOUSE','',1,$disabled);