diff --git a/.gitattributes b/.gitattributes index 123fd7620..1858a6507 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ dist/ merge=ours -application/languages/**/*.php merge=ours +application/language/**/*.php merge=ours diff --git a/application/controllers/receivings.php b/application/controllers/receivings.php index 463627b9c..b42df50e4 100644 --- a/application/controllers/receivings.php +++ b/application/controllers/receivings.php @@ -374,7 +374,7 @@ class Receivings extends Secure_area function save($receiving_id) { $receiving_data = array( - 'receiving_time' => date('Y-m-d', strtotime($this->input->post('date'))), + 'receiving_time' => date('Y-m-d H:i:s', strtotime($this->input->post('date'))), 'supplier_id' => $this->input->post('supplier_id') ? $this->input->post('supplier_id') : null, 'employee_id' => $this->input->post('employee_id'), 'comment' => $this->input->post('comment'), diff --git a/application/controllers/sales.php b/application/controllers/sales.php index f7053ef90..9667c574d 100644 --- a/application/controllers/sales.php +++ b/application/controllers/sales.php @@ -602,7 +602,7 @@ class Sales extends Secure_area function save($sale_id) { $sale_data = array( - 'sale_time' => date('Y-m-d', strtotime($this->input->post('date'))), + 'sale_time' => date('Y-m-d H:i:s', strtotime($this->input->post('date'))), 'customer_id' => $this->input->post('customer_id') ? $this->input->post('customer_id') : NULL, 'employee_id' => $this->input->post('employee_id'), 'comment' => $this->input->post('comment'), diff --git a/application/views/partial/header.php b/application/views/partial/header.php index 084d00071..4413dcc58 100644 --- a/application/views/partial/header.php +++ b/application/views/partial/header.php @@ -7,7 +7,7 @@