changes for bbnepal

This commit is contained in:
2024-10-07 11:41:27 +05:45
parent e3c8a3b5fe
commit 967642f2be
12 changed files with 151 additions and 25 deletions

View File

@ -80,7 +80,7 @@ function linkVoucher($voucher_id)
$ci = &get_instance();
$Voucher = $ci->db->where("voucher_id", $voucher_id)->get("tbl_vouchers")->row();
$Name = $ci->db->where("vouchertype_id", $Voucher->voucher_type)->get("tbl_vouchertypes")->row()->voucher_type . " Voucher # " . $Voucher->voucher_no;
echo "<a class='link' target='_blank' href='" . site_url("accounts/vouchers/show_voucher/" . $voucher_id) . "'>$Name</a>";
echo "<a class='open-modal' target='_blank' href='" . site_url("accounts/vouchers/show_voucher/" . $voucher_id) . "'>$Name</a>";
} else {
echo "";
}