Debug v20
This commit is contained in:
parent
102263b3e5
commit
6dba01d85a
2 changed files with 18 additions and 18 deletions
|
|
@ -840,7 +840,7 @@ if ($resql) {
|
|||
print $langs->trans("AccountAccounting");
|
||||
print '</td>';
|
||||
}*/
|
||||
print '<td align="center"> </td>';
|
||||
print '<td class="center"> </td>';
|
||||
print '</tr>';
|
||||
|
||||
print '<tr>';
|
||||
|
|
@ -1127,13 +1127,13 @@ if ($resql) {
|
|||
print '<td class="liste_titre"> </td>';
|
||||
}
|
||||
if (!empty($arrayfields['type']['checked'])) {
|
||||
print '<td class="liste_titre" align="center">';
|
||||
print '<td class="liste_titre center">';
|
||||
print $form->select_types_paiements(empty($search_type) ? '' : $search_type, 'search_type', '', 2, 1, 1, 0, 1, 'maxwidth100', 1);
|
||||
print '</td>';
|
||||
}
|
||||
// Numero
|
||||
if (!empty($arrayfields['b.num_chq']['checked'])) {
|
||||
print '<td class="liste_titre" align="center"><input type="text" class="flat" name="req_nb" value="'.dol_escape_htmltag($search_req_nb).'" size="2"></td>';
|
||||
print '<td class="liste_titre center"><input type="text" class="flat" name="req_nb" value="'.dol_escape_htmltag($search_req_nb).'" size="2"></td>';
|
||||
}
|
||||
// Checked
|
||||
if (!empty($arrayfields['bu.label']['checked'])) {
|
||||
|
|
@ -1173,7 +1173,7 @@ if ($resql) {
|
|||
}
|
||||
// Numero statement
|
||||
if (!empty($arrayfields['b.num_releve']['checked'])) {
|
||||
print '<td class="liste_titre" align="center"><input type="text" class="flat" name="search_num_releve" value="'.dol_escape_htmltag($search_num_releve).'" size="3"></td>';
|
||||
print '<td class="liste_titre center"><input type="text" class="flat" name="search_num_releve" value="'.dol_escape_htmltag($search_num_releve).'" size="3"></td>';
|
||||
}
|
||||
// Conciliated
|
||||
if (!empty($arrayfields['b.conciliated']['checked'])) {
|
||||
|
|
@ -1183,10 +1183,10 @@ if ($resql) {
|
|||
}
|
||||
// Bordereau
|
||||
if (!empty($arrayfields['b.fk_bordereau']['checked'])) {
|
||||
print '<td class="liste_titre" align="center"><input type="text" class="flat" name="search_fk_bordereau" value="'.dol_escape_htmltag($search_fk_bordereau).'" size="3"></td>';
|
||||
print '<td class="liste_titre center"><input type="text" class="flat" name="search_fk_bordereau" value="'.dol_escape_htmltag($search_fk_bordereau).'" size="3"></td>';
|
||||
}
|
||||
// Action edit/delete and select
|
||||
print '<td class="nowraponall" align="center"></td>';
|
||||
print '<td class="nowraponall center"></td>';
|
||||
|
||||
// Actions and select
|
||||
if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
|
@ -1277,7 +1277,7 @@ if ($resql) {
|
|||
$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook
|
||||
print $hookmanager->resPrint;
|
||||
// Action edit/delete and select
|
||||
print '<td class="nowraponall" align="center"></td>';
|
||||
print '<td class="nowraponall center"></td>';
|
||||
$totalarray['nbfield']++;
|
||||
// Actions and select
|
||||
if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
|
||||
|
|
@ -1605,7 +1605,7 @@ if ($resql) {
|
|||
|
||||
// Date ope
|
||||
if (!empty($arrayfields['b.dateo']['checked'])) {
|
||||
print '<td align="center" class="nowrap">';
|
||||
print '<td class="nowrap center">';
|
||||
print '<span class="spanforajaxedit" id="dateoperation_'.$objp->rowid.'">'.dol_print_date($db->jdate($objp->do), "day")."</span>";
|
||||
print ' ';
|
||||
print '<span class="inline-block">';
|
||||
|
|
@ -1622,7 +1622,7 @@ if ($resql) {
|
|||
|
||||
// Date value
|
||||
if (!empty($arrayfields['b.datev']['checked'])) {
|
||||
print '<td align="center" class="nowrap">';
|
||||
print '<td class="nowrap center">';
|
||||
print '<span class="spanforajaxedit" id="datevalue_'.$objp->rowid.'">'.dol_print_date($db->jdate($objp->dv), "day")."</span>";
|
||||
print ' ';
|
||||
print '<span class="inline-block">';
|
||||
|
|
@ -1654,7 +1654,7 @@ if ($resql) {
|
|||
|
||||
// Num cheque
|
||||
if (!empty($arrayfields['b.num_chq']['checked'])) {
|
||||
print '<td class="nowrap" align="center">'.($objp->num_chq ? dol_escape_htmltag($objp->num_chq) : "")."</td>\n";
|
||||
print '<td class="nowrap center">'.($objp->num_chq ? dol_escape_htmltag($objp->num_chq) : "")."</td>\n";
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
}
|
||||
|
|
@ -1786,7 +1786,7 @@ if ($resql) {
|
|||
}
|
||||
|
||||
if (!empty($arrayfields['b.num_releve']['checked'])) {
|
||||
print '<td class="nowraponall" align="center">';
|
||||
print '<td class="nowraponall center">';
|
||||
// Transaction reconciliated or edit link
|
||||
if ($bankaccount->canBeConciliated() > 0) {
|
||||
if ($objp->num_releve) {
|
||||
|
|
@ -1801,7 +1801,7 @@ if ($resql) {
|
|||
}
|
||||
|
||||
if (!empty($arrayfields['b.conciliated']['checked'])) {
|
||||
print '<td class="nowraponall" align="center">';
|
||||
print '<td class="nowraponall center">';
|
||||
print yn($objp->conciliated);
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
|
|
@ -1811,7 +1811,7 @@ if ($resql) {
|
|||
|
||||
if (!empty($arrayfields['b.fk_bordereau']['checked'])) {
|
||||
$bordereaustatic->fetch($objp->fk_bordereau);
|
||||
print '<td class="nowraponall" align="center">';
|
||||
print '<td class="nowraponall center">';
|
||||
print $bordereaustatic->getNomUrl();
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
|
|
@ -1825,7 +1825,7 @@ if ($resql) {
|
|||
print $hookmanager->resPrint;
|
||||
|
||||
// Action edit/delete and select
|
||||
print '<td class="nowraponall" align="center">';
|
||||
print '<td class="nowraponall center">';
|
||||
// Transaction reconciliated or edit link
|
||||
if ($objp->conciliated && $bankaccount->canBeConciliated() > 0) { // If line not conciliated and account can be conciliated
|
||||
print '<a class="editfielda" href="'.DOL_URL_ROOT.'/compta/bank/line.php?save_lastsearch_values=1&rowid='.$objp->rowid.($object->id > 0 ? '&account='.$object->id : '').'&page='.$page.'">';
|
||||
|
|
|
|||
|
|
@ -781,7 +781,7 @@ if ($action == 'create') {
|
|||
if ($object->type == Account::TYPE_SAVINGS || $object->type == Account::TYPE_CURRENT) {
|
||||
print '<table class="border tableforfield centpercent">';
|
||||
|
||||
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("BankName").'</td>';
|
||||
print '<tr class="liste_titre"><td class="titlefieldmiddle">'.$langs->trans("BankName").'</td>';
|
||||
print '<td>'.$object->bank.'</td></tr>';
|
||||
|
||||
$ibankey = FormBank::getIBANLabel($object);
|
||||
|
|
@ -797,7 +797,7 @@ if ($action == 'create') {
|
|||
if (!checkIbanForAccount($object)) {
|
||||
print img_picto($langs->trans("IbanNotValid"), 'warning');
|
||||
} else {
|
||||
print img_picto($langs->trans("IbanValid"), 'info');
|
||||
print img_picto($langs->trans("IbanValid"), 'tick');
|
||||
}
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
|
@ -809,7 +809,7 @@ if ($action == 'create') {
|
|||
if (!checkSwiftForAccount($object)) {
|
||||
print img_picto($langs->trans("SwiftNotValid"), 'warning');
|
||||
} else {
|
||||
print img_picto($langs->trans("SwiftValid"), 'info');
|
||||
print img_picto($langs->trans("SwiftValid"), 'tick');
|
||||
}
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
|
@ -854,7 +854,7 @@ if ($action == 'create') {
|
|||
}
|
||||
|
||||
print '<tr><td>'.$langs->trans("BankAccountOwner").'</td><td>';
|
||||
print dol_escape_htmltag($object->proprio);
|
||||
print dol_escape_htmltag($object->owner_name);
|
||||
print "</td></tr>\n";
|
||||
|
||||
print '<tr><td>'.$langs->trans("BankAccountOwnerAddress").'</td><td>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue