if (($doctype == 10 || $doctype == 12) && $this->company['legal_text'] != "")
{
$this->TextWrap($ccol, $this->row, $right - $ccol, $this->company['legal_text'], 'C');
if (($doctype == 10 || $doctype == 12) && $this->company['legal_text'] != "")
{
$this->TextWrap($ccol, $this->row, $right - $ccol, $this->company['legal_text'], 'C');