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

ERROR - 2019-11-18 10:49:33 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2019-11-18 10:50:46 --> Severity: Warning --> Creating default object from empty value /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 742
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$unit /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 744
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 745
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 753
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$name /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:50:46 --> Severity: Notice --> Undefined property: stdClass::$code /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:52:05 --> Severity: Warning --> Creating default object from empty value /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 742
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$unit /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 744
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 745
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 753
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$name /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:52:05 --> Severity: Notice --> Undefined property: stdClass::$code /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:53:12 --> Severity: Warning --> Creating default object from empty value /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 742
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$unit /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 744
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 745
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 753
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$name /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:53:12 --> Severity: Notice --> Undefined property: stdClass::$code /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 763
ERROR - 2019-11-18 10:57:10 --> Severity: Notice --> Undefined property: stdClass::$unit /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 749
ERROR - 2019-11-18 10:57:10 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 750
ERROR - 2019-11-18 10:57:10 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 758
ERROR - 2019-11-18 10:57:10 --> Severity: Notice --> Undefined property: stdClass::$id /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 768
ERROR - 2019-11-18 11:00:37 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 753
ERROR - 2019-11-18 11:01:53 --> Severity: Notice --> Undefined property: stdClass::$cost /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 755
ERROR - 2019-11-18 11:02:37 --> Severity: Notice --> Trying to get property 'tax_method' of non-object /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 612
ERROR - 2019-11-18 11:02:37 --> Severity: Notice --> Trying to get property 'id' of non-object /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 628
ERROR - 2019-11-18 11:02:37 --> Severity: Notice --> Trying to get property 'name' of non-object /Users/saleem/Sites/sma/app/controllers/admin/Purchases.php 630
ERROR - 2019-11-18 11:02:37 --> Query error: Column 'product_id' cannot be null - Invalid query: INSERT INTO `sma_purchase_items` (`product_id`, `product_code`, `product_name`, `option_id`, `net_unit_cost`, `unit_cost`, `quantity`, `product_unit_id`, `product_unit_code`, `unit_quantity`, `quantity_balance`, `quantity_received`, `warehouse_id`, `item_tax`, `tax_rate_id`, `tax`, `discount`, `item_discount`, `subtotal`, `expiry`, `real_unit_cost`, `supplier_part_no`, `date`, `gst`, `cgst`, `sgst`, `igst`, `status`, `purchase_id`) VALUES (NULL, 'AM-1', NULL, NULL, 10, '10.00', '1.0000', '4', 'pc', '1', 1, '1.0000', '1', '0.0000', '1', '0', '0', '0.00', '10.00', NULL, '10.00', NULL, '2019-11-18', '0', 0, 0, '0.0000', 'received', '17')
