Debug v17
This commit is contained in:
parent
2970f039dd
commit
97222603c1
@ -1731,9 +1731,9 @@ if ($dirins && $action == 'confirm_deleteobject' && $objectname) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$resultko = 0;
|
$resultko = 0;
|
||||||
foreach ($filetodelete as $filetodelete) {
|
foreach ($filetodelete as $tmpfiletodelete) {
|
||||||
$resulttmp = dol_delete_file($dir.'/'.$filetodelete, 0, 0, 1);
|
$resulttmp = dol_delete_file($dir.'/'.$tmpfiletodelete, 0, 0, 1);
|
||||||
$resulttmp = dol_delete_file($dir.'/'.$filetodelete.'.back', 0, 0, 1);
|
$resulttmp = dol_delete_file($dir.'/'.$tmpfiletodelete.'.back', 0, 0, 1);
|
||||||
if (!$resulttmp) {
|
if (!$resulttmp) {
|
||||||
$resultko++;
|
$resultko++;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -420,8 +420,8 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2) { // TODO Not used by current code
|
|||||||
|
|
||||||
$location = array();
|
$location = array();
|
||||||
$location[""] = $langs->trans("NotDefined");
|
$location[""] = $langs->trans("NotDefined");
|
||||||
foreach ($locations as $locations) {
|
foreach ($locations as $tmplocation) {
|
||||||
$location[$locations->id] = $locations->display_name;
|
$location[$tmplocation->id] = $tmplocation->display_name;
|
||||||
}
|
}
|
||||||
print $form->selectarray("STRIPE_LOCATION", $location, getDolGlobalString('STRIPE_LOCATION'));
|
print $form->selectarray("STRIPE_LOCATION", $location, getDolGlobalString('STRIPE_LOCATION'));
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -219,8 +219,8 @@ if (isModEnabled("banque")) {
|
|||||||
|
|
||||||
$reader = array();
|
$reader = array();
|
||||||
$reader[""] = $langs->trans("NoReader");
|
$reader[""] = $langs->trans("NoReader");
|
||||||
foreach ($readers as $readers) {
|
foreach ($readers as $tmpreader) {
|
||||||
$reader[$reader->id] = $readers->label.' ('.$readers->status.')';
|
$reader[$tmpreader->id] = $tmpreader->label.' ('.$tmpreader->status.')';
|
||||||
}
|
}
|
||||||
print $form->selectarray('CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse, $reader, $conf->global->{'CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse});
|
print $form->selectarray('CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse, $reader, $conf->global->{'CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL'.$terminaltouse});
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user