diff --git a/application/logs/log-2017-08-22.php b/application/logs/log-2017-08-22.php
new file mode 100644
index 00000000..54cf460a
--- /dev/null
+++ b/application/logs/log-2017-08-22.php
@@ -0,0 +1,109 @@
+
+
+ERROR - 2017-08-22 06:53:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/ssss/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
+ERROR - 2017-08-22 07:50:02 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/ssss/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
+ERROR - 2017-08-22 07:51:19 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/ssss/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38
+ERROR - 2017-08-22 07:51:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 07:51:53 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 07:51:54 --> Severity: Notice --> Undefined offset: 0 /opt/lampp/htdocs/ssss/siddharth_application/application/controllers/purchaseorder.php 2302
+ERROR - 2017-08-22 07:51:54 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/ssss/siddharth_application/application/controllers/purchaseorder.php 2302
+ERROR - 2017-08-22 07:51:55 --> Severity: Notice --> Undefined variable: TotalOrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 322
+ERROR - 2017-08-22 07:51:55 --> Severity: Notice --> Undefined variable: TotalOrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 327
+ERROR - 2017-08-22 07:51:55 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 07:52:36 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:00:02 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:00:49 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:00:51 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:00:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:01:33 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:01:34 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:01:53 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:01:55 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:01:58 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:02:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:08:32 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:08:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:09:16 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:09:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:11:41 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:11:41 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:11:41 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:11:41 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:11:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:12:04 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:12:04 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:12:45 --> Severity: Warning --> Illegal string offset 'RequistionNo' /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 150
+ERROR - 2017-08-22 08:12:45 --> Severity: Notice --> Uninitialized string offset: 0 /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 150
+ERROR - 2017-08-22 08:12:45 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:13:21 --> Severity: Notice --> Undefined variable: ReqDetails /opt/lampp/htdocs/ssss/siddharth_application/application/views/capitalpopdf.php 149
+ERROR - 2017-08-22 08:13:21 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:15:04 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:18:48 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:18:48 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 339
+ERROR - 2017-08-22 08:18:48 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 347
+ERROR - 2017-08-22 08:18:48 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 355
+ERROR - 2017-08-22 08:18:48 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:19:26 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:19:26 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 339
+ERROR - 2017-08-22 08:19:26 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 347
+ERROR - 2017-08-22 08:19:26 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 355
+ERROR - 2017-08-22 08:19:26 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:19:32 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:19:32 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 339
+ERROR - 2017-08-22 08:19:32 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 347
+ERROR - 2017-08-22 08:19:32 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 355
+ERROR - 2017-08-22 08:19:32 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:19:42 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:20:09 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:20:17 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:20:39 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:22:58 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:24:06 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:24:06 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 339
+ERROR - 2017-08-22 08:24:06 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 347
+ERROR - 2017-08-22 08:24:06 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 355
+ERROR - 2017-08-22 08:24:06 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:25:03 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:25:03 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 339
+ERROR - 2017-08-22 08:25:03 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 347
+ERROR - 2017-08-22 08:25:03 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 355
+ERROR - 2017-08-22 08:25:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:25:52 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 313
+ERROR - 2017-08-22 08:25:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:25:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 334
+ERROR - 2017-08-22 08:25:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 342
+ERROR - 2017-08-22 08:25:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:25:56 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 313
+ERROR - 2017-08-22 08:25:56 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:25:56 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 334
+ERROR - 2017-08-22 08:25:56 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 342
+ERROR - 2017-08-22 08:25:56 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:26:22 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 314
+ERROR - 2017-08-22 08:26:22 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 327
+ERROR - 2017-08-22 08:26:22 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 335
+ERROR - 2017-08-22 08:26:22 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 343
+ERROR - 2017-08-22 08:26:23 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:26:28 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 314
+ERROR - 2017-08-22 08:26:28 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 327
+ERROR - 2017-08-22 08:26:28 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 335
+ERROR - 2017-08-22 08:26:28 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 343
+ERROR - 2017-08-22 08:26:28 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:26:45 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 312
+ERROR - 2017-08-22 08:26:45 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 325
+ERROR - 2017-08-22 08:26:45 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 333
+ERROR - 2017-08-22 08:26:45 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 341
+ERROR - 2017-08-22 08:26:45 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:26:53 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 312
+ERROR - 2017-08-22 08:26:53 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 325
+ERROR - 2017-08-22 08:26:53 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 333
+ERROR - 2017-08-22 08:26:53 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 341
+ERROR - 2017-08-22 08:26:54 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:27:52 --> Severity: Notice --> Undefined variable: PaymentTerms /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 313
+ERROR - 2017-08-22 08:27:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 326
+ERROR - 2017-08-22 08:27:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 334
+ERROR - 2017-08-22 08:27:52 --> Severity: Notice --> Undefined variable: OrderValue /opt/lampp/htdocs/ssss/siddharth_application/application/views/servicepopdf.php 342
+ERROR - 2017-08-22 08:27:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:28:08 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:28:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:29:20 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
+ERROR - 2017-08-22 08:29:40 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/ssss/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm
index 14b1f30c..6929ae34 100755
--- a/application/third_party/dompdf/lib/fonts/log.htm
+++ b/application/third_party/dompdf/lib/fonts/log.htm
@@ -1,4 +1,4 @@
-4,096 KB 274.2789 ms
Indent ref: req0382/16.08.17/ dept:prodn / ccd:t06 / fincap
+Indent ref: /format("Y-m-d"); echo $date; ?>/ dept: / ccd: / fincap
+ +PO No:
Date:
@@ -157,7 +157,12 @@Indent ref: req0382/16.08.17/ dept:prodn / ccd:t06
+ + + +Indent ref: / dept: / ccd:
+ +Please arrange to deliver the materials listed below as per schedule to our works
diff --git a/application/views/revenuepopdf.php b/application/views/revenuepopdf.php index 6fddd682..a1e8c315 100755 --- a/application/views/revenuepopdf.php +++ b/application/views/revenuepopdf.php @@ -130,7 +130,7 @@PO NO:
+PO NO:
Date:
Indent ref: req0382/16.08.17/ dept:prodn / ccd:t06
+ + +Indent ref: /format("Y-m-d"); echo $date; ?>/ dept: / ccd:
+ - -Please arrange to deliver the materials listed below as per schedule to our works
+ +Indent ref: /format("Y-m-d"); echo $date; ?>/ dept: / ccd:
+ + +Please arrange to deliver the materials listed below as per schedule to our works
+| # |
|---|