Fixing style errors.
This commit is contained in:
parent
584c09d62c
commit
08787cf40f
@ -494,11 +494,9 @@ if ($resql) {
|
|||||||
print '<button type="submit" class="button" name="action" value="update">'.$langs->trans("Modify").'</button>';
|
print '<button type="submit" class="button" name="action" value="update">'.$langs->trans("Modify").'</button>';
|
||||||
print '<button type="submit" class="button" name="action" value="cancel">'.$langs->trans("Cancel").'</button>';
|
print '<button type="submit" class="button" name="action" value="cancel">'.$langs->trans("Cancel").'</button>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// date_sync
|
// date_sync
|
||||||
if (!empty($arrayfields['cr.date_sync']['checked']))
|
if (!empty($arrayfields['cr.date_sync']['checked'])) {
|
||||||
{
|
|
||||||
print '<td class="tdoverflowmax200">';
|
print '<td class="tdoverflowmax200">';
|
||||||
print $obj->date_sync;
|
print $obj->date_sync;
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
@ -506,8 +504,7 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// code
|
// code
|
||||||
if (! empty($arrayfields['m.code']['checked']))
|
if (! empty($arrayfields['m.code']['checked'])) {
|
||||||
{
|
|
||||||
print '<td class="tdoverflowmax200">';
|
print '<td class="tdoverflowmax200">';
|
||||||
print $obj->code." ".$obj->name;
|
print $obj->code." ".$obj->name;
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
@ -516,8 +513,7 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// rate
|
// rate
|
||||||
if (! empty($arrayfields['cr.rate']['checked']))
|
if (! empty($arrayfields['cr.rate']['checked'])) {
|
||||||
{
|
|
||||||
print '<td class="tdoverflowmax200">';
|
print '<td class="tdoverflowmax200">';
|
||||||
print $obj->rate;
|
print $obj->rate;
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
@ -531,8 +527,7 @@ if ($resql) {
|
|||||||
|
|
||||||
// Action
|
// Action
|
||||||
print '<td class="nowrap " >';
|
print '<td class="nowrap " >';
|
||||||
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
||||||
{
|
|
||||||
$selected = 0;
|
$selected = 0;
|
||||||
if (in_array($obj->rowid, $arrayofselected)) $selected = 1;
|
if (in_array($obj->rowid, $arrayofselected)) $selected = 1;
|
||||||
$par = '&id_rate='.$obj->rowid.'&page='.$page.'&sortorder='.$sortorder.'&sortfield='.$sortfield.'&search_code='.$search_code.'&search_rate='.$search_rate.'&search_date_sync='.dol_print_date($search_date_sync, "%Y-%m-%d") .'&search_date_sync_end='.dol_print_date($search_date_sync_end, "%Y-%m-%d") .'&edit_mode=1';
|
$par = '&id_rate='.$obj->rowid.'&page='.$page.'&sortorder='.$sortorder.'&sortfield='.$sortfield.'&search_code='.$search_code.'&search_rate='.$search_rate.'&search_date_sync='.dol_print_date($search_date_sync, "%Y-%m-%d") .'&search_date_sync_end='.dol_print_date($search_date_sync_end, "%Y-%m-%d") .'&edit_mode=1';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user