Fixing style errors.
This commit is contained in:
parent
a1356718c0
commit
84e17753eb
@ -1376,15 +1376,15 @@ if ($resql)
|
|||||||
if (!empty($arrayfields['bu.label']['checked']))
|
if (!empty($arrayfields['bu.label']['checked']))
|
||||||
{
|
{
|
||||||
//payment line type to define user display
|
//payment line type to define user display
|
||||||
foreach($links as $key=>$value){
|
foreach ($links as $key=>$value){
|
||||||
if($links[$key]['type'] == 'payment_sc') $type_link = 'payment_sc';
|
if ($links[$key]['type'] == 'payment_sc') $type_link = 'payment_sc';
|
||||||
if($links[$key]['type'] == 'payment_salary') $type_link = 'payment_salary';
|
if ($links[$key]['type'] == 'payment_salary') $type_link = 'payment_salary';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td class="tdoverflowmax150">';
|
print '<td class="tdoverflowmax150">';
|
||||||
if ($objp->url_id)
|
if ($objp->url_id)
|
||||||
{
|
{
|
||||||
if($objp->type_url == 'company') {
|
if ($objp->type_url == 'company') {
|
||||||
$companystatic->id = $objp->url_id;
|
$companystatic->id = $objp->url_id;
|
||||||
$companystatic->name = $objp->nom;
|
$companystatic->name = $objp->nom;
|
||||||
$companystatic->name_alias = $objp->name_alias;
|
$companystatic->name_alias = $objp->name_alias;
|
||||||
@ -1408,8 +1408,7 @@ if ($resql)
|
|||||||
print $userstatic->getNomUrl(1);
|
print $userstatic->getNomUrl(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
print ' ';
|
print ' ';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -568,7 +568,7 @@ class PaymentSocialContribution extends CommonObject
|
|||||||
$result = $acc->add_url_line($bank_line_id, $socialcontrib->id, DOL_URL_ROOT.'/compta/charges.php?id=', $socialcontrib->type_label.(($socialcontrib->lib && $socialcontrib->lib != $socialcontrib->type_label) ? ' ('.$socialcontrib->lib.')' : ''), 'sc');
|
$result = $acc->add_url_line($bank_line_id, $socialcontrib->id, DOL_URL_ROOT.'/compta/charges.php?id=', $socialcontrib->type_label.(($socialcontrib->lib && $socialcontrib->lib != $socialcontrib->type_label) ? ' ('.$socialcontrib->lib.')' : ''), 'sc');
|
||||||
if ($result <= 0) dol_print_error($this->db);
|
if ($result <= 0) dol_print_error($this->db);
|
||||||
|
|
||||||
if($socialcontrib->fk_user) {
|
if ($socialcontrib->fk_user) {
|
||||||
$fuser = new User($this->db);
|
$fuser = new User($this->db);
|
||||||
$fuser->fetch($socialcontrib->fk_user);
|
$fuser->fetch($socialcontrib->fk_user);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user