<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2024-07-17 14:21:48 --> Severity: Warning --> count(): Parameter must be an array or an object that implements Countable /home/shagoon/public_html/application/views/gc/return_dispenser_list.php 60
ERROR - 2024-07-17 14:45:39 --> Query error: Unknown column 'sA.company_branch_id' in 'field list' - Invalid query: SELECT `sA`.`company_branch_id`, `A`.`customer_id`, `E`.`first_name`, `E`.`last_name`, `A`.`dispenser_quantity`, `A`.`installation_date`, `C`.`customer_name`, `D`.`company_branch_name`, `B`.`product_name`, `B`.`stock_quantity`, `B`.`product_prefix`, `A`.`product_id`, `F`.`tracking_numbers`, `F`.`duration_days`, `F`.`quantity`, `F`.`refill_date`, `F`.`next_refill_date`, `F`.`refill_location`, `F`.`product_id` as `refill_id`, `F`.`dispenser_refill_details_id`, `A`.`dispenser_sales_id`, `G`.`product_name` as `dispenser_name`, `F`.`unit_of_measurment`
FROM `refill_sales_transaction` as `F`
LEFT JOIN `dispenser_sales_transaction` as `A` ON `A`.`dispenser_sales_id`=`F`.`dispenser_sales_id`
LEFT JOIN `customer` as `C` ON `A`.`customer_id`=`C`.`customer_id`
LEFT JOIN `company_branch` as `D` ON `A`.`company_branch_id`=`D`.`company_branch_id`
LEFT JOIN `product` as `B` ON `F`.`product_id`=`B`.`product_id`
LEFT JOIN `users` as `E` ON `A`.`sales_person_id`=`E`.`user_id`
LEFT JOIN `product` as `G` ON `A`.`product_id`=`G`.`product_id`
WHERE `dispenser_refill_details_id` = '13'
