forked from Wavyzz/dolibarr
Fix look and feel v17
This commit is contained in:
@@ -127,6 +127,8 @@ if ($resql) {
|
||||
print '<th class="right">'.$langs->trans("Status").'</th>';
|
||||
print "</tr>\n";
|
||||
|
||||
$num = $db->num_rows($resql);
|
||||
|
||||
while ($objp = $db->fetch_object($resql)) {
|
||||
$checkdepositstatic->id = $objp->rowid;
|
||||
$checkdepositstatic->ref = ($objp->ref ? $objp->ref : $objp->rowid);
|
||||
@@ -152,6 +154,10 @@ if ($resql) {
|
||||
|
||||
print '</tr>';
|
||||
}
|
||||
if (empty($num)) {
|
||||
print '<tr><td colspan="6"><span class="opacitymedium">'.$langs->trans("None").'</span></td></tr>';
|
||||
}
|
||||
|
||||
print "</table>";
|
||||
print '</div>';
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ if ($resql) {
|
||||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table class="noborder centpercent">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<th colspan="5">'.$langs->trans("SupplierInvoiceWaitingWithdraw").' ('.$num.')</th></tr>';
|
||||
print '<th colspan="5">'.$langs->trans("SupplierInvoiceWaitingWithdraw").' <span class="opacitymedium">('.$num.')</span></th></tr>';
|
||||
if ($num) {
|
||||
while ($i < $num && $i < 20) {
|
||||
$obj = $db->fetch_object($resql);
|
||||
|
||||
@@ -183,8 +183,6 @@ if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'pr
|
||||
}
|
||||
$massactionbutton = $form->selectMassAction('', $arrayofmassactions);
|
||||
|
||||
llxHeader('', $langs->trans("NewStandingOrder"));
|
||||
|
||||
if (prelevement_check_config($type) < 0) {
|
||||
$langs->load("errors");
|
||||
$modulenametoshow = "Withdraw";
|
||||
@@ -195,21 +193,13 @@ if (prelevement_check_config($type) < 0) {
|
||||
}
|
||||
|
||||
|
||||
/*$h=0;
|
||||
$head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/create.php';
|
||||
$head[$h][1] = $langs->trans("NewStandingOrder");
|
||||
$head[$h][2] = 'payment';
|
||||
$hselected = 'payment';
|
||||
$h++;
|
||||
|
||||
print dol_get_fiche_head($head, $hselected, $langs->trans("StandingOrders"), 0, 'payment');
|
||||
*/
|
||||
|
||||
$title = $langs->trans("NewStandingOrder");
|
||||
if ($type == 'bank-transfer') {
|
||||
$title = $langs->trans("NewPaymentByBankTransfer");
|
||||
}
|
||||
|
||||
llxHeader('', $title);
|
||||
|
||||
print load_fiche_titre($title);
|
||||
|
||||
print dol_get_fiche_head();
|
||||
@@ -221,12 +211,12 @@ if ($nb < 0) {
|
||||
}
|
||||
print '<table class="border centpercent tableforfield">';
|
||||
|
||||
$title = $langs->trans("NbOfInvoiceToWithdraw");
|
||||
$labeltoshow = $langs->trans("NbOfInvoiceToWithdraw");
|
||||
if ($type == 'bank-transfer') {
|
||||
$title = $langs->trans("NbOfInvoiceToPayByBankTransfer");
|
||||
$labeltoshow = $langs->trans("NbOfInvoiceToPayByBankTransfer");
|
||||
}
|
||||
|
||||
print '<tr><td class="titlefieldcreate">'.$title.'</td>';
|
||||
print '<tr><td class="titlefield">'.$labeltoshow.'</td>';
|
||||
print '<td>';
|
||||
print $nb;
|
||||
print '</td></tr>';
|
||||
|
||||
Reference in New Issue
Block a user