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
Severity: Warning
-Message: explode() expects parameter 2 to be string, array given
-Filename: include/style.cls.php
-Line Number: 948
- -+
|
+ + + |
+||
|
+ Vendor Address : +DR EnterPrise AutoMotive Pvt.Ltd |
+
+ Delivery To : +Survey NO: 168/1C3,Pennalur Pet Road,Goonipalyam village,Uthukottai Taluk,Tiruvallur Dist,Chennai,Tamilnadu,Pin code : 602026. + + |
+|
| MRIR NO | +MRIR005 | +PO NO | +PO005 | +
| MRIR DATE | +02/07/2017 | +PO DATE | +24/06/2017 | +
| MRIR RAISED BY | +Ravi | +PO RAISED BY | +Raj | +
| IGR NO | +IGR005 | +DELIVERY CHELLAN/ INVOICE NO | +Inv005 | +
| IGR DATE | +01/07/2017 | +DELIVERY CHELLAN/ INVOICE DATE | +01/07/2017 | +
| IGR RAISED BY | +Veladhyum | +VECHICLE NO/ COURIER NO | +TN 3 H 7685 | +
+
| S.NO | +Item Code | +Material Name | +UOM | +Ordered Quantity | +Adviced Quantity | +Actual Quantity Received | +Accepted Quantity | +Rejected Quantity | +Remarks | +
| 1 | +RM003 | +Sand | +Ton | +20 | +20 | +20 | +20 | +0 | +No rejection | +