From 20279c3bc09aa18ce837a1f2030c9584cd9899f3 Mon Sep 17 00:00:00 2001 From: jekkos Date: Wed, 12 Oct 2016 22:35:08 +0200 Subject: [PATCH] Add correct time to new receivings (#853) --- application/models/Receiving.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Receiving.php b/application/models/Receiving.php index 25c3014ed..8f1550fc1 100644 --- a/application/models/Receiving.php +++ b/application/models/Receiving.php @@ -42,6 +42,7 @@ class Receiving extends CI_Model } $receivings_data = array( + 'receiving_time' => date('Y-m-d H:i:s'), 'supplier_id' => $this->Supplier->exists($supplier_id) ? $supplier_id : NULL, 'employee_id' => $employee_id, 'payment_type' => $payment_type,