Add correct time to new receivings (#853)

This commit is contained in:
jekkos
2016-10-12 22:35:08 +02:00
parent 20e4a3b057
commit 20279c3bc0

View File

@@ -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,