view_data; //$rec_id = $data['__tableprimarykey']; $page_id = Router::$page_id; //Page id from url $view_title = $this->view_title; $show_header = $this->show_header; $show_edit_btn = $this->show_edit_btn; $show_delete_btn = $this->show_delete_btn; $show_export_btn = $this->show_export_btn; ?>
: :
Client : :
: :
: :
Created : :
GetModel(); $query = "SELECT qi.*, p.internal_reference, p.label, p.sale_price FROM acc_quotation_items qi INNER JOIN products p on p.id = qi.product_id WHERE qi.quotation_id = " . $data['id']; $items = $db->rawQuery($query); foreach ($items as $item) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } ?>
'; echo $item['internal_reference']; echo ''; echo ''; echo $item['label']; echo ''; echo ''; echo number_format($item['qty'], get_num_decimal()); echo ''; echo number_format($item['amount'], get_num_decimal()); echo ''; echo number_format($item['total'], get_num_decimal()); echo '