FIX_TareWeightDate in IGR : ps
This commit is contained in:
parent
0856378041
commit
de6dd71394
@ -439,13 +439,10 @@ class Inwardgateregister extends BaseController
|
||||
// var_dump($grossWeightDate);
|
||||
// var_dump($tareWeightDate);
|
||||
|
||||
if (is_string($grossWeightDate) && is_string($tareWeightDate)) {
|
||||
$GrossWeightDate = date('Y-m-d H:i:s', strtotime($grossWeightDate));
|
||||
$TareWeightDate = date('Y-m-d H:i:s', strtotime($tareWeightDate));
|
||||
} else {
|
||||
$GrossWeightDate = null;
|
||||
$TareWeightDate = null;
|
||||
}
|
||||
$GrossWeightDate = !empty($grossWeightDate) && is_string($grossWeightDate) ? date('Y-m-d H:i:s', strtotime($grossWeightDate)) : null;
|
||||
$TareWeightDate = !empty($tareWeightDate) && is_string($tareWeightDate) ? date('Y-m-d H:i:s', strtotime($tareWeightDate)) : null;
|
||||
log_message('error', "TareWeightDate" . $TareWeightDate);
|
||||
|
||||
if (strlen($QuantityAsPerInvoice) > 0 && $QuantityAsPerInvoice != '0') {
|
||||
$Remarks = $this->request->getPost('txtRemarks' . $i);
|
||||
$ItemStatus = '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user