diff --git a/application/controllers/MRIRcontroller.php b/application/controllers/MRIRcontroller.php index 66735a4a..dfe6b7ed 100755 --- a/application/controllers/MRIRcontroller.php +++ b/application/controllers/MRIRcontroller.php @@ -18,6 +18,7 @@ class MRIRcontroller extends BaseController public function __construct() { parent::__construct(); + $this->load->model('purchaseorder_model'); $this->load->model('mrir_model'); $this->load->library('session'); $this->load->library('form_validation'); @@ -36,7 +37,30 @@ class MRIRcontroller extends BaseController $this->loadViews("materialinspectionreport", $this->global,$data,NULL); } - + public function MrirDetailsPrintPdf() + { + $this->global['pageTitle'] = 'Siddharth : MRIR Pdf '; + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + //$data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForPrint($PONO); + + $this->load->View("Mrirprintpdf",$data, NULL); + + + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("MrirDetails.pdf",$data,$php); + + } + public function viewmrirforbilling() { $this->global['pageTitle'] = 'Siddharth : Billing '; diff --git a/application/logs/log-2017-07-24.php b/application/logs/log-2017-07-24.php new file mode 100644 index 00000000..ca69c0fc --- /dev/null +++ b/application/logs/log-2017-07-24.php @@ -0,0 +1,184 @@ + + +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:57 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:58 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:58 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MRIRcontroller - assumed 'MRIRcontroller' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Notice --> Use of undefined constant MrirDetailsPrintPdf - assumed 'MrirDetailsPrintPdf' C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:41:59 --> Severity: Warning --> Division by zero C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 72 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:45:59 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:31 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 +ERROR - 2017-07-24 09:46:32 --> Severity: Notice --> Undefined property: stdClass::$CreatedByName C:\xampp\htdocs\siddharth_application\application\views\viewmaterialinspectionreport.php 61 diff --git a/application/models/mrir_model.php b/application/models/mrir_model.php index a88291f3..f241f6f4 100755 --- a/application/models/mrir_model.php +++ b/application/models/mrir_model.php @@ -76,7 +76,7 @@ function ViewDistributionList() function view_mrir() { $this->db->distinct(); - $this->db->select('TMM.MRIRNO,TMM.PONO,TMM.IGRNO,IGRM.DeliveryChellanOrInvoiceNo,IGRM.DeliveryChellanDate,IGRM.VehicleNo,IGRM.CourierNo,TMD.StoreInchargeID,TMD.QualityInchargeID,TMD.PlantInchargeID,TMD.UpdateBY,POM.PODate,POM.POType,POM.ReleasedBy,ED.FirstName as UpdatedbyName,ED1.FirstName as ReleasedbyName'); + $this->db->select('TMM.MRIRNO,TMM.PONO,TMM.IGRNO,IGRM.DeliveryChellanOrInvoiceNo,IGRM.DeliveryChellanDate,IGRM.VehicleNo,IGRM.CourierNo,TMD.StoreInchargeID,TMD.QualityInchargeID,TMD.PlantInchargeID,TMD.UpdateBY,POM.PODate,POM.POType,POM.CreatedBy,ED.FirstName as UpdatedbyName,ED1.FirstName as CreatedByName'); $this->db->from ('T_MRIR_Master TMM'); $this->db->join ('T_MRIR_Details TMD','TMM.MRIRNO=TMD.MRIRNO'); $this->db->join ('T_IGR_Master IGRM','TMM.IGRNO=IGRM.IGRNO'); @@ -84,7 +84,7 @@ function ViewDistributionList() $this->db->join ('T_PurchaseOrder_Master POM','TMM.PONO=POM.PONO'); $this->db->join ('tbl_users user','user.userid=TMD.UpdateBY','left'); $this->db->join ('T_Employee_Details ED','ED.EmpID = user.EmpID','left'); - $this->db->join ('tbl_users user1','user1.userid = POM.ReleasedBy','left'); + $this->db->join ('tbl_users user1','user1.userid = POM.CreatedBy','left'); $this->db->join ('T_Employee_Details ED1','ED1.EmpID = user1.EmpID','left'); $this->db->order_by ('TMM.MRIRNO','asc'); $query = $this->db->get(); diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm index c26f7ed5..d28c0d60 100755 --- a/application/third_party/dompdf/lib/fonts/log.htm +++ b/application/third_party/dompdf/lib/fonts/log.htm @@ -1,10 +1 @@ -12,032 KB 191.4020 ms
- -

A PHP Error was encountered

- -

Severity: Warning

-

Message: explode() expects parameter 2 to be string, array given

-

Filename: include/style.cls.php

-

Line Number: 948

- -
\ No newline at end of file +8,192 KB 260.5858 ms
\ No newline at end of file diff --git a/application/views/Editmaterialinspectionreport.php b/application/views/Editmaterialinspectionreport.php index c0168156..2f8545d8 100755 --- a/application/views/Editmaterialinspectionreport.php +++ b/application/views/Editmaterialinspectionreport.php @@ -96,7 +96,7 @@ if(!empty($MRIRDetails))
-
+
-
+
-
+
-
+
-
+
- +
-
+
-
+
-
+
+CompanyName; + $CompanyAddress = $CO->Address; + + } + } + ?> + + + +
+

 

+
MRIR DETAILS - MRIR NO: Mrir005
+ + + + + + + + + + + + + + +
+

+

+
+

Vendor Address :

+

DR EnterPrise AutoMotive Pvt.Ltd
No:196/4b,Sriperumbudur Taluk,Kancheepuram Dist.Tamil Nadu-631604

+
+

Delivery To :

+

Survey NO: 168/1C3,Pennalur Pet Road,Goonipalyam village,Uthukottai Taluk,Tiruvallur Dist,Chennai,Tamilnadu,Pin code : 602026. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MRIR NO MRIR005PO NOPO005
MRIR DATE 02/07/2017PO DATE 24/06/2017
MRIR RAISED BY RaviPO RAISED BYRaj
IGR NO IGR005DELIVERY CHELLAN/ INVOICE NOInv005
IGR DATE 01/07/2017DELIVERY CHELLAN/ INVOICE DATE01/07/2017
IGR RAISED BY VeladhyumVECHICLE NO/ COURIER NOTN 3 H 7685
+

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
S.NOItem CodeMaterial NameUOMOrdered QuantityAdviced QuantityActual Quantity ReceivedAccepted QuantityRejected QuantityRemarks
1RM003SandTon202020200No rejection
+
\ No newline at end of file diff --git a/application/views/viewmaterialinspectionreport.php b/application/views/viewmaterialinspectionreport.php index 9ceda3df..e160e4cb 100755 --- a/application/views/viewmaterialinspectionreport.php +++ b/application/views/viewmaterialinspectionreport.php @@ -58,7 +58,7 @@ IGRNO ?> PONO ?> POType ?> - ReleasedbyName ?> + CreatedByName ?> DeliveryChellanOrInvoiceNo ?> DeliveryChellanDate); @@ -67,7 +67,10 @@ CourierNo ?> UpdatedbyName ?> - +     + +     +