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($grossWeightDate);
|
||||||
// var_dump($tareWeightDate);
|
// var_dump($tareWeightDate);
|
||||||
|
|
||||||
if (is_string($grossWeightDate) && is_string($tareWeightDate)) {
|
$GrossWeightDate = !empty($grossWeightDate) && is_string($grossWeightDate) ? date('Y-m-d H:i:s', strtotime($grossWeightDate)) : null;
|
||||||
$GrossWeightDate = date('Y-m-d H:i:s', strtotime($grossWeightDate));
|
$TareWeightDate = !empty($tareWeightDate) && is_string($tareWeightDate) ? date('Y-m-d H:i:s', strtotime($tareWeightDate)) : null;
|
||||||
$TareWeightDate = date('Y-m-d H:i:s', strtotime($tareWeightDate));
|
log_message('error', "TareWeightDate" . $TareWeightDate);
|
||||||
} else {
|
|
||||||
$GrossWeightDate = null;
|
|
||||||
$TareWeightDate = null;
|
|
||||||
}
|
|
||||||
if (strlen($QuantityAsPerInvoice) > 0 && $QuantityAsPerInvoice != '0') {
|
if (strlen($QuantityAsPerInvoice) > 0 && $QuantityAsPerInvoice != '0') {
|
||||||
$Remarks = $this->request->getPost('txtRemarks' . $i);
|
$Remarks = $this->request->getPost('txtRemarks' . $i);
|
||||||
$ItemStatus = '';
|
$ItemStatus = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user