From 367f469f75c9e534b28ff883371c2be72a3eb312 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 25 Jan 2018 18:41:39 +0530 Subject: [PATCH] mrir,report,cashbook --- .../controllers/amendmentpurchaseorder.php | 39 +++++++++- application/controllers/batchcard.php | 0 application/logs/log-2018-01-04.php | 0 application/logs/log-2018-01-08.php | 0 application/logs/log-2018-01-10.php | 0 application/logs/log-2018-01-11.php | 0 application/logs/log-2018-01-25.php | 72 ++++++++++++++++++ application/models/batchcard_model.php | 0 application/models/dahsboard_model.php | 4 +- application/models/purchaseorder_model.php | 12 +++ application/views/Bonusreport.php | 0 application/views/Bonusreportmonthwise.php | 0 application/views/batchcard_stockdetails.php | 0 application/views/dailyBatchCardListing.php | 0 application/views/dailybatchcard.php | 0 application/views/editDailyData.php | 0 application/views/edit_hourly_batch_card.php | 0 application/views/hourly_batch_card.php | 0 application/views/hourlybatchcardlisting.php | 0 application/views/income_expense_list.php | 2 +- application/views/report_emp.php | 0 uploads/QAD/6643071.jpg | Bin 22 files changed, 122 insertions(+), 7 deletions(-) mode change 100644 => 100755 application/controllers/batchcard.php mode change 100644 => 100755 application/logs/log-2018-01-04.php mode change 100644 => 100755 application/logs/log-2018-01-08.php mode change 100644 => 100755 application/logs/log-2018-01-10.php mode change 100644 => 100755 application/logs/log-2018-01-11.php create mode 100644 application/logs/log-2018-01-25.php mode change 100644 => 100755 application/models/batchcard_model.php mode change 100644 => 100755 application/views/Bonusreport.php mode change 100644 => 100755 application/views/Bonusreportmonthwise.php mode change 100644 => 100755 application/views/batchcard_stockdetails.php mode change 100644 => 100755 application/views/dailyBatchCardListing.php mode change 100644 => 100755 application/views/dailybatchcard.php mode change 100644 => 100755 application/views/editDailyData.php mode change 100644 => 100755 application/views/edit_hourly_batch_card.php mode change 100644 => 100755 application/views/hourly_batch_card.php mode change 100644 => 100755 application/views/hourlybatchcardlisting.php mode change 100644 => 100755 application/views/report_emp.php mode change 100644 => 100755 uploads/QAD/6643071.jpg diff --git a/application/controllers/amendmentpurchaseorder.php b/application/controllers/amendmentpurchaseorder.php index 55c8d4ea..7b8f7002 100755 --- a/application/controllers/amendmentpurchaseorder.php +++ b/application/controllers/amendmentpurchaseorder.php @@ -286,6 +286,14 @@ class amendmentpurchaseorder extends BaseController $RowCount = $this->input->post('txtRowCount'); $dtt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $updateddt = $dtt->format('Y-m-d H:i:s'); + + $qtycheck = $this->purchaseorder_model->getqtycheck($PONO); + $qtycheckresult=''; + foreach($qtycheck as $qty) + { + $qtycheckresult= $qty->IsQualityChkReqired; + } + if(empty($Deliverydt)) { $Deliverydt=null; @@ -296,7 +304,7 @@ class amendmentpurchaseorder extends BaseController } - $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'PORange'=>$PoRange,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'Mode_Of_Shipment'=>$Modeofshipment,'Supplier_Reference'=>$supplierreference,'Supplier_Offer_No'=>$supplieroffno,'Other_Reference'=>$otherreference,'Fincap'=>$fincap,'InsuranceStatus'=>$insurancestatus,'InsuranceNumber'=>$insuranceno,'POSubType'=>$revenuetype,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD); + $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'PORange'=>$PoRange,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'Mode_Of_Shipment'=>$Modeofshipment,'Supplier_Reference'=>$supplierreference,'Supplier_Offer_No'=>$supplieroffno,'Other_Reference'=>$otherreference,'Fincap'=>$fincap,'InsuranceStatus'=>$insurancestatus,'InsuranceNumber'=>$insuranceno,'POSubType'=>$revenuetype,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'IsQualityChkReqired'=>$qtycheckresult); $LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$updatedBy,$PONO); if(count($LastPO)>0) { @@ -575,6 +583,14 @@ class amendmentpurchaseorder extends BaseController $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $updateddt = $dt->format('Y-m-d H:i:s'); $WorkStatus=$this->input->post('workstatus'); + + $qtycheck = $this->purchaseorder_model->getqtycheck($PONO); + $qtycheckresult=''; + foreach($qtycheck as $qty) + { + $qtycheckresult= $qty->IsQualityChkReqired; + } + // PO Master if(empty($Deliverydt)) { @@ -583,7 +599,7 @@ class amendmentpurchaseorder extends BaseController if($PaymentTerms != 'PT08'){ $Otherpayment=''; } - $POMaster = array('ParentPO'=>$PONO,'POType'=>$POType,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$scopeofwork,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'ServiceWorkStatus'=>$WorkStatus,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions); + $POMaster = array('ParentPO'=>$PONO,'POType'=>$POType,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$scopeofwork,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'ServiceWorkStatus'=>$WorkStatus,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'Description_Of_Service'=>$DescriptionOfPo,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions,'IsQualityChkReqired'=>$qtycheckresult); $LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$updatedBy,$PONO); @@ -807,6 +823,13 @@ class amendmentpurchaseorder extends BaseController $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $createddt = $dt->format('Y-m-d H:i:s'); $updateddt = $dt->format('Y-m-d H:i:s'); + + $qtycheck = $this->purchaseorder_model->getqtycheck($PONO); + $qtycheckresult=''; + foreach($qtycheck as $qty) + { + $qtycheckresult= $qty->IsQualityChkReqired; + } if(empty($Deliverydt)){ $Deliverydt=null; @@ -816,7 +839,7 @@ class amendmentpurchaseorder extends BaseController $Otherpayment=''; } $updatedBy = $this->session->userdata ( 'userId' ); - $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$FinalTotalOrder,'POType'=>$POType,'PODate'=>$PODate,'Status'=>PO_RELEASED,'CapitalRange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentOtherDescription'=>$Otherpayment,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'AmendedDetails'=>$MAD,'Import_DispatchDetails'=>$curdispatch,'Import_PlaceofOrgin'=>$PlaceOforigin,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions); + $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'TotalOrderValue'=>$FinalTotalOrder,'POType'=>$POType,'PODate'=>$PODate,'Status'=>PO_RELEASED,'CapitalRange'=>$PoRange,'ExchangeRate'=>$ExchangeRate,'ExchangeRateCalculatedon'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentOtherDescription'=>$Otherpayment,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'CurrencyType'=>$currencytypeID,'AmendedDetails'=>$MAD,'Import_DispatchDetails'=>$curdispatch,'Import_PlaceofOrgin'=>$PlaceOforigin,'Supplier_Reference'=>$SupplierReference,'Mode_Of_Shipment'=>$ModeOfShipment,'Supplier_Offer_No'=>$SuppliersOfferNo,'Other_Reference'=>$OtherReferences,'Fincap'=>$Fincap,'InsuranceStatus'=>$InsuranceOptions,'InsuranceNumber'=>$InsuranceNo,'POSubType'=>$ServiceTypeOptions,'IsQualityChkReqired'=>$qtycheckresult); $LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$CreateBy,$PONO); foreach($LastPO as $PO): @@ -1129,6 +1152,14 @@ class amendmentpurchaseorder extends BaseController $Insurance=$this->input->post('Insurance'); + + $qtycheck = $this->purchaseorder_model->getqtycheck($PONO); + $qtycheckresult=''; + foreach($qtycheck as $qty) + { + $qtycheckresult= $qty->IsQualityChkReqired; + } + if($Insurance=='YES') { @@ -1157,7 +1188,7 @@ class amendmentpurchaseorder extends BaseController $MAD.=$MAD."Current Place of Origin:  " . $beforePalaceoforigin."
"; } - $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin,'Mode_Of_Shipment'=>$Shipmentmode,'Supplier_Reference'=>$SupplierRef,'Supplier_Offer_No'=>$SupplierOffer,'Other_Reference'=>$otherRef,'Fincap'=>$finCap,'AmendedDetails'=>$MAD,'PaymentOtherDescription'=>$OtherPayment,'InsuranceStatus'=>$insurestatus,'InsuranceNumber'=>$Insurancenumber,'POSubType'=>$importoption); + $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin,'Mode_Of_Shipment'=>$Shipmentmode,'Supplier_Reference'=>$SupplierRef,'Supplier_Offer_No'=>$SupplierOffer,'Other_Reference'=>$otherRef,'Fincap'=>$finCap,'AmendedDetails'=>$MAD,'PaymentOtherDescription'=>$OtherPayment,'InsuranceStatus'=>$insurestatus,'InsuranceNumber'=>$Insurancenumber,'POSubType'=>$importoption,'IsQualityChkReqired'=>$qtycheckresult); $LastPO = $this->purchaseorder_model->addAmendPOMaster($POMaster,$CreateBy,$PONO); $NewPO = ''; if(count($LastPO)>0) diff --git a/application/controllers/batchcard.php b/application/controllers/batchcard.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2018-01-04.php b/application/logs/log-2018-01-04.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2018-01-08.php b/application/logs/log-2018-01-08.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2018-01-10.php b/application/logs/log-2018-01-10.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2018-01-11.php b/application/logs/log-2018-01-11.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2018-01-25.php b/application/logs/log-2018-01-25.php new file mode 100644 index 00000000..9da2fde3 --- /dev/null +++ b/application/logs/log-2018-01-25.php @@ -0,0 +1,72 @@ + + +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1522 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1522 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1523 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1523 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1525 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1525 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1526 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1526 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1527 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1527 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1530 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1530 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1532 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/models/purchaseorder_model.php 1532 +ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/grad.php 3 +ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/mpdfform.php 3 +ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/cssmgr.php 3 +ERROR - 2018-01-25 14:09:29 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/otl.php 12 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/siddharth_application/application/views/includes/pdfheader.php 153 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/includes/pdfheader.php 153 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 344 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 345 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388 +ERROR - 2018-01-25 14:09:29 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/siddharth_application/application/views/revenuepopdf.php 388 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2018-01-25 14:09:30 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/ttfontsuni.php 51 diff --git a/application/models/batchcard_model.php b/application/models/batchcard_model.php old mode 100644 new mode 100755 diff --git a/application/models/dahsboard_model.php b/application/models/dahsboard_model.php index 591625c5..753bda2f 100755 --- a/application/models/dahsboard_model.php +++ b/application/models/dahsboard_model.php @@ -1392,7 +1392,7 @@ group by supplier_name,material_name"; function ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t,$cat){ - $sql="select im.IGRNO as igrn,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate, + $sql="select im.IGRNO as igrn,im.PONO as pono,pm.POType as potype,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0) as sgst, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0) as cgst, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0) as igst, @@ -1468,7 +1468,7 @@ $sql.="group by pono,material_name,category,supplier_name"; function ireport_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat){ - $sql="select im.IGRNO as igrn,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate, + $sql="select im.IGRNO as igrn,im.PONO as pono,pm.POType as potype,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, sum(distinct id.QuantityAsPerInvoice) as quantity,pl.Rate as rate,sum(distinct id.QuantityAsPerInvoice) * pl.Rate as value,if(POType = 'IMPORT' or POType = 'CAPITAL',sum(distinct pm.ExchangeRate),0) as exchange_rate, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterSGST),sum(distinct st.After_SGST)),0) as sgst, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterCGST),sum(distinct st.After_CGST)),0) as cgst, ifnull(if(POType = 'REVENUE',sum(distinct rt.AfterIGST),sum(distinct st.After_IGST)),0) as igst, diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index f492fdc3..d290f94e 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -184,6 +184,18 @@ function purchaseorderListing($forwhat='') return $query->result(); } + + + function getqtycheck($PONO) + { + $this->db->select('IsQualityChkReqired'); + $this->db->from('T_PurchaseOrder_Master'); + $this->db->where('PONO',$PONO); + $query = $this->db->get(); + + return $query->result(); + + } /** * This function is used to get the Raw Material information * @return array $result : This is result of the query diff --git a/application/views/Bonusreport.php b/application/views/Bonusreport.php old mode 100644 new mode 100755 diff --git a/application/views/Bonusreportmonthwise.php b/application/views/Bonusreportmonthwise.php old mode 100644 new mode 100755 diff --git a/application/views/batchcard_stockdetails.php b/application/views/batchcard_stockdetails.php old mode 100644 new mode 100755 diff --git a/application/views/dailyBatchCardListing.php b/application/views/dailyBatchCardListing.php old mode 100644 new mode 100755 diff --git a/application/views/dailybatchcard.php b/application/views/dailybatchcard.php old mode 100644 new mode 100755 diff --git a/application/views/editDailyData.php b/application/views/editDailyData.php old mode 100644 new mode 100755 diff --git a/application/views/edit_hourly_batch_card.php b/application/views/edit_hourly_batch_card.php old mode 100644 new mode 100755 diff --git a/application/views/hourly_batch_card.php b/application/views/hourly_batch_card.php old mode 100644 new mode 100755 diff --git a/application/views/hourlybatchcardlisting.php b/application/views/hourlybatchcardlisting.php old mode 100644 new mode 100755 diff --git a/application/views/income_expense_list.php b/application/views/income_expense_list.php index 5bc94df5..9a75c570 100755 --- a/application/views/income_expense_list.php +++ b/application/views/income_expense_list.php @@ -1,7 +1,7 @@ -

Siddharth Industries - Income & Expense List

+

Siddharth Industries - Receipt and Payment List

diff --git a/application/views/report_emp.php b/application/views/report_emp.php old mode 100644 new mode 100755 diff --git a/uploads/QAD/6643071.jpg b/uploads/QAD/6643071.jpg old mode 100644 new mode 100755