Fixing style errors.
This commit is contained in:
parent
0850570e95
commit
b7ae5ffa1d
@ -616,37 +616,37 @@ if (!empty($date_start) && !empty($date_stop))
|
|||||||
// Ref
|
// Ref
|
||||||
print '<td class="nowraponall">';
|
print '<td class="nowraponall">';
|
||||||
|
|
||||||
if ($data['item'] == 'Invoice') {
|
if ($data['item'] == 'Invoice') {
|
||||||
$invoice->id = $data['id'];
|
$invoice->id = $data['id'];
|
||||||
$invoice->ref = $data['ref'];
|
$invoice->ref = $data['ref'];
|
||||||
print $invoice->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $invoice->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'SupplierInvoice') {
|
} elseif ($data['item'] == 'SupplierInvoice') {
|
||||||
$supplier_invoice->id = $data['id'];
|
$supplier_invoice->id = $data['id'];
|
||||||
$supplier_invoice->ref = $data['ref'];
|
$supplier_invoice->ref = $data['ref'];
|
||||||
print $supplier_invoice->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $supplier_invoice->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'ExpenseReport') {
|
} elseif ($data['item'] == 'ExpenseReport') {
|
||||||
$expensereport->id = $data['id'];
|
$expensereport->id = $data['id'];
|
||||||
$expensereport->ref = $data['ref'];
|
$expensereport->ref = $data['ref'];
|
||||||
print $expensereport->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $expensereport->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'SalaryPayment') {
|
} elseif ($data['item'] == 'SalaryPayment') {
|
||||||
$salary_payment->id = $data['id'];
|
$salary_payment->id = $data['id'];
|
||||||
$salary_payment->ref = $data['ref'];
|
$salary_payment->ref = $data['ref'];
|
||||||
print $salary_payment->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $salary_payment->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'Donation') {
|
} elseif ($data['item'] == 'Donation') {
|
||||||
$don->id = $data['id'];
|
$don->id = $data['id'];
|
||||||
$don->ref = $data['ref'];
|
$don->ref = $data['ref'];
|
||||||
print $don->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $don->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'SocialContributions') {
|
} elseif ($data['item'] == 'SocialContributions') {
|
||||||
$charge_sociales->id = $data['id'];
|
$charge_sociales->id = $data['id'];
|
||||||
$charge_sociales->ref = $data['ref'];
|
$charge_sociales->ref = $data['ref'];
|
||||||
print $charge_sociales->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $charge_sociales->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} elseif ($data['item'] == 'VariousPayment') {
|
} elseif ($data['item'] == 'VariousPayment') {
|
||||||
$various_payment->id = $data['id'];
|
$various_payment->id = $data['id'];
|
||||||
$various_payment->ref = $data['ref'];
|
$various_payment->ref = $data['ref'];
|
||||||
print $various_payment->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
print $various_payment->getNomUrl(1, '', 0, 0, '', 0, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
print $data['ref'];
|
print $data['ref'];
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// File link
|
// File link
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user