if (isset($bankaccount['bank_name']))
$this->Text($mcol, $bankaccount['bank_name'], $mcol2);
$this->NewLine();
- $this->TextWrapLines($mcol, $mcol2 - $mcol, $bankaccount['bank_address']);
+ if (isset($bankaccount['bank_address']))
+ $this->TextWrapLines($mcol, $mcol2 - $mcol, $bankaccount['bank_address']);
$this->row = $adrline;
if (isset($bankaccount['bank_account_name']))
$this->Text($mcol2, $bankaccount['bank_account_name']);
echo $gl_trans_str;
label_cell($edit_page=='' ? '' : "<a href='$edit_page'>" . _('Edit') . '</a>');
- if ($myrow['type'] == 10 || $myrow['type'] == 11)
+ if ($myrow['type'] != 12) // customer payment printout not defined yet.
label_cell(print_document_link($myrow['trans_no'], _("Print"), true, $myrow['type']));
else
label_cell("");