public function Draw($data) { parent::Draw($data); $this->main_form(0, 0); $this->main_form(0, 310); $this->main_form(440, 0); $this->main_form(440, 310); if (!$this->data['last']) { $this->id = $this->backend->newPage(1, $this->id); } }
public function Draw($data) { parent::Draw($data); if (isset($this->data['invoice'])) { $template = ConfigHelper::getConfig('invoices.cnote_template_file'); } else { $template = ConfigHelper::getConfig('invoices.template_file'); } switch ($template) { case "standard": $this->invoice_body_standard(); break; case "FT-0100": $this->invoice_body_ft0100(); break; } }
public function Draw($data) { parent::Draw($data); $top = 800; $y = $this->receipt_header(80, $top); $y = $this->receipt_buyer(80, $y); $y = $this->receipt_data(80, $y); $y = $this->receipt_footer(80, $y); if (!$this->data['which']) { $y -= 20; $y = $this->receipt_header(80, $y); $y = $this->receipt_buyer(80, $y); $y = $this->receipt_data(80, $y); $y = $this->receipt_footer(80, $y); } if (!$this->data['last']) { $this->id = $this->backend->newPage(1, $this->id); } }
public function Draw($data) { parent::Draw($data); $this->main_fill(177, 12, 0.395); $this->main_fill(177, 313, 0.396); $this->simple_fill_mip(5, 12, 0.395); $this->simple_fill_mip(5, 313, 0.395); $this->address_box(390, 600, 0.395); if (!$this->data['last']) { $this->id = $this->backend->newPage(1, $this->id); } }