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

ERROR - 2024-06-04 13:57:56 --> Severity: Warning --> Undefined array key "return_purchase_ref" /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 66
ERROR - 2024-06-04 14:13:50 --> Why else: Array
(
    [purchase_id] => 
    [transfer_id] => 
    [product_id] => 49
    [warehouse_id] => 1
    [option_id] => 
    [product_unit_id] => 4
    [product_unit_code] => pc
    [product_code] => test123
    [product_name] => TEST123
    [item_tax] => 0.000
    [unit_cost] => 12
    [real_unit_cost] => 12.0000
    [net_unit_cost] => 12.0000
    [quantity_received] => 5.0000
    [unit_quantity] => 5.0000
    [quantity] => 5.0000
    [quantity_balance] => 5.0000
    [subtotal] => 60
    [tax] => 0
    [tax_rate_id] => 1
    [status] => received
    [date] => 2024-06-04
)

ERROR - 2024-06-04 14:20:48 --> Why else: Array
(
    [purchase_id] => 
    [transfer_id] => 
    [product_id] => 49
    [warehouse_id] => 1
    [option_id] => 
    [product_unit_id] => 4
    [product_unit_code] => pc
    [product_code] => test123
    [product_name] => TEST123
    [item_tax] => 0.000
    [unit_cost] => 12
    [real_unit_cost] => 12.0000
    [net_unit_cost] => 12.0000
    [quantity_received] => 4.0000
    [unit_quantity] => 4.0000
    [quantity] => 4.0000
    [quantity_balance] => 4.0000
    [subtotal] => 48
    [tax] => 0
    [tax_rate_id] => 1
    [status] => received
    [date] => 2024-06-04
)

ERROR - 2024-06-04 14:23:38 --> Why else: Array
(
    [purchase_id] => 
    [transfer_id] => 
    [product_id] => 49
    [warehouse_id] => 1
    [option_id] => 
    [product_unit_id] => 4
    [product_unit_code] => pc
    [product_code] => test123
    [product_name] => TEST123
    [item_tax] => 0.000
    [unit_cost] => 12
    [real_unit_cost] => 12.0000
    [net_unit_cost] => 12.0000
    [base_unit_cost] => 12.0000
    [quantity_received] => 3.0000
    [unit_quantity] => 3.0000
    [quantity] => 3.0000
    [quantity_balance] => 3.0000
    [subtotal] => 36
    [tax] => 0
    [tax_rate_id] => 1
    [status] => received
    [date] => 2024-06-04
)

