uri->segment(1) . "/" . $this->uri->segment(2) . "/add", "Create New " . $pageTitle); ?>
db->query("select * from tbl_purchases where status=1")->result(); ?>
Action
purchase_ref; ?> purchase_date; ?> myaccounts->getAccountDetails($TableRow->accounts_id)->account_name; ?>
Details as $r) : $l += (($r->qty) * ($r->rate)); ?>
Item->title; ?> qty; ?> rate, true); ?> qty * $r->rate, true); ?>
    Total:
TotalPurchase); ?> uri->segment(1) . "/" . $this->uri->segment(2) . "/details/$id"); ?>