PO pdf and PO flow changes

This commit is contained in:
venbatechnologies@gmail.com 2017-10-04 18:25:35 +05:30
parent ccfebbf7c3
commit 22e041b55e
16 changed files with 233 additions and 50 deletions

0
application/logs/log-2017-09-29.php Normal file → Executable file
View File

View File

@ -0,0 +1,142 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2017-10-04 12:25:09 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 12:25:09 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 12:25:12 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 12:25:47 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:25:47 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:25:53 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:25:53 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:26:00 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:26:00 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:26:15 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 12:26:28 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 12:26:30 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 12:26:30 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 16:35:39 --> Severity: Notice --> Undefined variable: AvlimportBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/importpo.php 2356
ERROR - 2017-10-04 16:36:38 --> Severity: Notice --> Undefined variable: AvlimportBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/importpo.php 2356
ERROR - 2017-10-04 13:10:44 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 13:21:06 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 13:24:06 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 13:25:41 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 13:25:50 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 13:25:50 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 13:26:57 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 13:26:57 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 13:27:21 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 211
ERROR - 2017-10-04 13:27:21 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 212
ERROR - 2017-10-04 13:27:21 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 213
ERROR - 2017-10-04 13:27:21 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 259
ERROR - 2017-10-04 13:27:21 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 287
ERROR - 2017-10-04 13:29:33 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 211
ERROR - 2017-10-04 13:29:33 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 212
ERROR - 2017-10-04 13:29:33 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 213
ERROR - 2017-10-04 13:29:33 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 259
ERROR - 2017-10-04 13:29:33 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 287
ERROR - 2017-10-04 17:39:38 --> Severity: Notice --> Undefined variable: AvlimportBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/importpo.php 2356
ERROR - 2017-10-04 17:44:35 --> Severity: Notice --> Undefined variable: AvlimportBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/importpo.php 2368
ERROR - 2017-10-04 14:18:00 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:19:31 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:22:11 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:22:49 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:22:58 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:22:58 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:23:24 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:23:24 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:24:09 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:24:19 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:24:19 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:27:09 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:27:09 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:30:34 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:30:34 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:31:02 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 211
ERROR - 2017-10-04 14:31:02 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 212
ERROR - 2017-10-04 14:31:02 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 213
ERROR - 2017-10-04 14:31:02 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 259
ERROR - 2017-10-04 14:31:02 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 287
ERROR - 2017-10-04 14:41:07 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:41:23 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:42:09 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:44:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 211
ERROR - 2017-10-04 14:44:18 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 212
ERROR - 2017-10-04 14:44:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 213
ERROR - 2017-10-04 14:44:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 259
ERROR - 2017-10-04 14:44:18 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/4oct/siddharth_application222/application/views/alterpurchaseorder.php 287
ERROR - 2017-10-04 14:44:54 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:50:09 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:50:16 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:16 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:17 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:17 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:22 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:22 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:22 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:23 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:23 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:23 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:56 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:50:57 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:50:57 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:06 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$DiscountType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 744
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$PackagingType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 745
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:51:08 --> Severity: Notice --> Undefined property: stdClass::$FreightType /opt/lampp/htdocs/4oct/siddharth_application222/application/views/revenuepopdf.php 788
ERROR - 2017-10-04 14:51:08 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:08 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:22 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:22 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:42 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:42 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:52 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:51:55 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:51:55 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:10 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:10 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:20 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:52:24 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:24 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:35 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:35 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:36 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/4oct/siddharth_application222/application/views/editimportpo.php 2820
ERROR - 2017-10-04 14:52:51 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/4oct/siddharth_application222/system/database/drivers/mysqli/mysqli_result.php 38
ERROR - 2017-10-04 14:52:54 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697
ERROR - 2017-10-04 14:52:54 --> Severity: Warning --> DOMXPath::query(): Invalid expression /opt/lampp/htdocs/4oct/siddharth_application222/application/third_party/dompdf/include/stylesheet.cls.php 697

View File

@ -1 +1 @@
<span style='color: #900'>18,432 KB</span> <span style='color: #090'>563.9040 ms</span><br /> <span style='color: #900'>20,480 KB</span> <span style='color: #090'>551.9879 ms</span><br />

View File

@ -857,7 +857,7 @@ $(document).ready(function () {
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -990,7 +990,7 @@ $(document).ready(function () {
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;"> <div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo',$InsuranceNo),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceNo','value' => set_value('insuranceNo',$InsuranceNo),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -3221,7 +3221,7 @@ var InsNo = '<?php echo $InsuranceNo; ?>';
if($("#insuranceStatus").val()=="1"){ if($("#insuranceStatus").val()=="1"){
$('#insuranceTxtDiv').show(); $('#insuranceTxtDiv').show();
$('#insuranceNo').val(InsNo); $('#insuranceNo').val('Yes');
} }
else{ else{
$('#insuranceTxtDiv').hide(); $('#insuranceTxtDiv').hide();

View File

@ -2429,7 +2429,7 @@ function populateValueMainFormForDeleteItem(rowid)
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2549,7 +2549,7 @@ function populateValueMainFormForDeleteItem(rowid)
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;"> <div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo'),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceNo','value' => set_value('insuranceNo'),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -5893,7 +5893,7 @@ function populateValueMainFormForDeleteItem(rowid)
$('#ServiceNo').val(1); $('#ServiceNo').val(1);
} }
else{ else{
$('#FrequencyChange').val($('#ServiceOptions').val()+' - '+$('#ServiceNo').val()); $('#FrequencyChange').val($('#ScheduleType').val());
} }
} }
@ -6412,7 +6412,7 @@ function populateValueMainFormForDeleteItem(rowid)
} }
else{ else{
$('#EditFrequencyChange').val($('#Frequency'+userid).val()+' - '+$('#FrequencyValue'+userid).val()); $('#EditFrequencyChange').val($('#FrequencySchedule'+userid).val());
} }
@ -7592,6 +7592,7 @@ $("#PaymentMethod").change(function() {
if($("#insuranceStatus").val()=="1"){ if($("#insuranceStatus").val()=="1"){
$('#insuranceTxtDiv').show(); $('#insuranceTxtDiv').show();
$('#insuranceNo').val('Yes');
} }
else{ else{

View File

@ -95,7 +95,13 @@
$ServiceDescription =$PO->ServiceDescription; $ServiceDescription =$PO->ServiceDescription;
$finCap=$PO->Fincap; $finCap=$PO->Fincap;
$modShp=$PO->Mode_Of_Shipment; $modShp=$PO->Mode_Of_Shipment;
if($PO->InsuranceNumber==''){
$insNo = 'No';
}
else{
$insNo=$PO->InsuranceNumber; $insNo=$PO->InsuranceNumber;
}
$supRef=$PO->Supplier_Reference; $supRef=$PO->Supplier_Reference;
$supOfferNo=$PO->Supplier_Offer_No; $supOfferNo=$PO->Supplier_Offer_No;
@ -265,8 +271,8 @@
<td rowspan="2" colspan="3"><u><strong style="font-size:16px; margin-top: -38px;padding-left: 2px;">Shipped To</strong></u><br><span style="padding-left: 2px;"><?php echo $CompanyAddress;?></span><br> <strong style="padding-left: 2px;">State code:</strong><?php echo $CompanyStateCode;?> <td rowspan="2" colspan="3"><u><strong style="font-size:16px; margin-top: -38px;padding-left: 2px;">Shipped To</strong></u><br><span style="padding-left: 2px;"><?php echo $CompanyAddress;?></span><br> <strong style="padding-left: 2px;">State code:</strong><?php echo $CompanyStateCode;?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br><br>
</td> </td>
<td colspan="6"><strong style="padding-left: 2px;">Delivery/ Dispatch Instruction</strong> :<br> <td colspan="6"><strong style="padding-left: 2px;">Delivery/Dispatch Instruction/Schedule By</strong> :<br>
<span style="padding-left: 2px;"><?php echo $DeliveryDate.$DeliverySchedule;?></span> <span style="padding-left: 2px;"><?php echo $DeliveryDate.$DeliverySchedule.$dispatch;?></span>
</td> </td>
</tr> </tr>
<?php <?php

View File

@ -548,7 +548,7 @@ function vaildateBeforeOpenModal()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -5156,6 +5156,7 @@ $("#insuranceStatus").change(function(){
if($("#insuranceStatus").val()=="1"){ if($("#insuranceStatus").val()=="1"){
$('#insuranceTxtDiv').show(); $('#insuranceTxtDiv').show();
$('#insuranceNo').val('Yes');
} }
else{ else{

View File

@ -665,7 +665,7 @@ $("#PaymentMethod").select2();
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -800,7 +800,7 @@ $("#PaymentMethod").select2();
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;"> <div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo',$InsuranceNo),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceNo','value' => set_value('insuranceNo',$InsuranceNo),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -6424,7 +6424,7 @@ var InsNo = '<?php echo $InsuranceNo; ?>';
if($("#insuranceStatus").val()=="1"){ if($("#insuranceStatus").val()=="1"){
$('#insuranceTxtDiv').show(); $('#insuranceTxtDiv').show();
$('#insuranceNo').val(InsNo); $('#insuranceNo').val('Yes');
} }
else{ else{
$('#insuranceTxtDiv').hide(); $('#insuranceTxtDiv').hide();

View File

@ -2223,7 +2223,7 @@ function calculateEditTaxValue()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2294,12 +2294,24 @@ function calculateEditTaxValue()
if(!empty($PoTypeOptions)) if(!empty($PoTypeOptions))
{ {
foreach ($PoTypeOptions as $POpt): foreach ($PoTypeOptions as $POpt):
if($revenuesubtype==$POpt->ConfigValue){
$optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue; $optionsPO[$POpt->ConfigValue] = $POpt->ConfigValue;
}
endforeach; endforeach;
foreach ($PoTypeOptions as $POpt1):
if($revenuesubtype!=$POpt1->ConfigValue){
$optionsPO[$POpt1->ConfigValue] = $POpt1->ConfigValue;
}
endforeach;
} }
echo form_dropdown('PoTypeOptions', $optionsPO,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2'); echo form_dropdown('PoTypeOptions', $optionsPO,set_value('PoTypeOptions'),'id="PoTypeOptions"' ,'required="true"' ,'class="form-control select2');
@ -2323,7 +2335,7 @@ function calculateEditTaxValue()
</div> </div>
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenodiv" style="display:block;"> <div class="col-md-4" id="insurancenodiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno',$insurenceno),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno',$insurenceno),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true');
@ -5071,7 +5083,9 @@ $('#insurancestatus').change(function(){
//$("#insuranceno").val(""); //$("#insuranceno").val("");
} }
else { else {
$("#insurancenodiv").show();} $("#insurancenodiv").show();
$("#insuranceno").val("Yes");
}
}); });
</script> </script>

View File

@ -630,7 +630,7 @@ tinymce.init({
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -725,7 +725,7 @@ tinymce.init({
<div class="col-md-6" style="padding-right:0px;"> <div class="col-md-6" style="padding-right:0px;">
<label for="payablefrom">Insurance</label> <label for="payablefrom">Insurance Option</label>
@ -758,7 +758,7 @@ tinymce.init({
</div> </div>
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenum" style="display:none;"> <div class="col-md-4" id="insurancenum" style="display:none;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5
;">*</span></label> ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -3287,10 +3287,12 @@ var insure=$("#Insurance :selected").text();
if(insure=='YES') if(insure=='YES')
{ {
$('#insurancenum').show(); $('#insurancenum').show();
$('#insurancenumber').val('Yes');
} }
else else
{ {
$('#insurancenum').hide(); $('#insurancenum').hide();
} }

View File

@ -510,7 +510,7 @@ function vaildateBeforeOpenModal()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -570,7 +570,7 @@ function vaildateBeforeOpenModal()
<div class="col-md-6" style="padding: 0px;"> <div class="col-md-6" style="padding: 0px;">
<label for="payablefrom">Import Options</label> <label for="payablefrom">Import Type Options</label>
@ -626,7 +626,7 @@ function vaildateBeforeOpenModal()
</div> </div>
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenum" style="display:none;"> <div class="col-md-4" id="insurancenum" style="display:none;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5
;">*</span></label> ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php

View File

@ -73,7 +73,7 @@
$PaymentTerms = $PO->Pay; $PaymentTerms = $PO->Pay;
if($PO->Pay=='Others') if($PO->Pay=='Others')
{ {
$Paydescription=$PO->PaymentOtherDescription; $PaymentTerms=$PO->PaymentOtherDescription;
} }
//$PaymentDays=$PO->PaymentDays; //$PaymentDays=$PO->PaymentDays;
//$PayableAT=$PO->PayableAT; //$PayableAT=$PO->PayableAT;
@ -115,7 +115,7 @@
else else
{ {
$InsuranceStatus='NO'; $InsuranceStatus='NO';
$InsuranceNo=''; $InsuranceNo='No';
} }
@ -162,7 +162,7 @@
<style> <style>
@page { margin: 298px 25px 210px 25px; } @page { margin: 298px 25px 210px 25px; }
.header { position: fixed; left: 0px; top: -308px; right: 0px; height: 500px;text-align: center; } .header { position: fixed; left: 0px; top: -308px; right: 0px; height: 500px;text-align: center; }
.footer { position: fixed; bottom: 15px;} .footer { position: fixed; bottom: 5px;}
.pagenum:before { content: counter(page); } .pagenum:before { content: counter(page); }
</style> </style>
<body style="font-family: sans-serif;"> <body style="font-family: sans-serif;">
@ -582,17 +582,16 @@
</table> </table>
<?php } ?> <?php } ?>
&nbsp; &nbsp;
<span style="text-align: left;"><strong style="padding-left: 1px;">Special instructions:</strong></span> <span style="text-align: left;"><strong style="padding-left: 1px;">Special instructions:</strong><?php echo $ServiceDescription;?></span>
<span><?php echo $ServiceDescription;?></span>
<table style="border-collapse: collapse;position:fixed;bottom:85px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0"> <table style="border-collapse: collapse;position:fixed;bottom:73px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
<tbody> <tbody>
<tr> <tr>
<td style="width: 40%;" colspan="4" rowspan="3"> <td style="width: 40%;" colspan="4" rowspan="3">
<p><strong style="padding-left: 2px;">Payment terms</strong>:</p> <p><strong style="padding-left: 2px;">Payment terms</strong>:</p>
<span style="padding-left: 2px;"><?php echo $PaymentTerms?> &nbsp;&nbsp; <?php echo $Paydescription;?></span></p> <span style="padding-left: 2px;"><?php echo $PaymentTerms?></span></p>
</td> </td>
<td style="text-align: center;background-color: #d2d2d2;" colspan="2"><strong>Total Amount In</strong></td> <td style="text-align: center;background-color: #d2d2d2;" colspan="2"><strong>Total Amount In</strong></td>
<td style="text-align: center;background-color: #d2d2d2;" colspan="2"><strong>Order Value</strong></td> <td style="text-align: center;background-color: #d2d2d2;" colspan="2"><strong>Order Value</strong></td>

View File

@ -103,6 +103,9 @@ if(!empty($INRSYMBOL))
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
$('#insurance').val('0');
$("#insuranceno").val('');
$("#insurancenodiv").hide();
$("#PaymentTerms").select2(); $("#PaymentTerms").select2();
clearTotalItemValues(); clearTotalItemValues();
}); });
@ -2147,7 +2150,7 @@ function calculateEditTaxValue()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -2246,7 +2249,7 @@ function calculateEditTaxValue()
</div> </div>
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenodiv" style="display:block;"> <div class="col-md-4" id="insurancenodiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno'),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno'),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true');
@ -3373,7 +3376,9 @@ $("#insurance").change(function(){
$("#insuranceno").val(""); $("#insuranceno").val("");
} }
else { else {
$("#insurancenodiv").show();} $("#insurancenodiv").show();
$('#insuranceno').val('Yes');
}
}); });
$("#EDITREVENUE").on("shown.bs.modal", function(e) { $("#EDITREVENUE").on("shown.bs.modal", function(e) {

View File

@ -91,7 +91,13 @@
$finCap = $PO->Fincap; $finCap = $PO->Fincap;
$modeofshipment = $PO->Mode_Of_Shipment; $modeofshipment = $PO->Mode_Of_Shipment;
$PaymentTerms = $PO->PaymentTerms; $PaymentTerms = $PO->PaymentTerms;
if($PO->InsuranceNumber==''){
$insuranceno = 'No';
}
else{
$insuranceno = $PO->InsuranceNumber; $insuranceno = $PO->InsuranceNumber;
}
if($PaymentTerms=='Others'){ if($PaymentTerms=='Others'){
$PaymentOtherDescription=$PO->PaymentOtherDescription; $PaymentOtherDescription=$PO->PaymentOtherDescription;
@ -321,7 +327,7 @@
<br> <br>
<br>
<table width="100%" style="margin-left: -1px;"> <table width="100%" style="margin-left: -1px;">
@ -784,7 +790,7 @@ $OrderValue = (( $SubTotalAmount + $AfterCGST +$AfterIGST+$AfterSGST +$Insuranc
}?> }?>
</tbody> </tbody>
</table> </table>
<div style="text-align: left;"><strong>Special instructions:</strong><?php echo $ServiceDescription;?></div> <div style="text-align: left;"><strong>Special Instructions:</strong><?php echo $ServiceDescription;?></div>
<table style="border-collapse: collapse;position:fixed;bottom:115px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0"> <table style="border-collapse: collapse;position:fixed;bottom:115px;border-bottom-style:hidden;" border="1" width="100.3%" cellspacing="0" cellpadding="0">
<tbody> <tbody>

View File

@ -772,7 +772,7 @@ function clearEditTaxField()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding:0px;" > <div class="col-md-4" style="padding:0px;" >
<div class="col-md-12"> <div class="col-md-12">
<label>Supplier Reference</label> <label>Contact Reference</label>
<div class="form-group"> <div class="form-group">
<?php <?php
@ -886,7 +886,7 @@ function clearEditTaxField()
<div class="col-md-9" style="padding:0px;"> <div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;"> <div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label> <label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group"> <div class="form-group">
<?php <?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo'),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true'); $data = array('name' => 'insuranceNo','value' => set_value('insuranceNo'),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -2499,6 +2499,7 @@ $("#insuranceStatus").change(function(){
if($("#insuranceStatus").val()=="1"){ if($("#insuranceStatus").val()=="1"){
$('#insuranceTxtDiv').show(); $('#insuranceTxtDiv').show();
$('#insuranceNo').val('Yes');
} }
else{ else{

View File

@ -110,13 +110,19 @@
$ServiceDescription =$PO->ServiceDescription; $ServiceDescription =$PO->ServiceDescription;
$PaymentTerms = $PO->PaymentTerms; $PaymentTerms = $PO->PaymentTerms;
if($PaymentTerms=='Others'){ if($PaymentTerms=='Others'){
$PaymentOtherDescription=$PO->PaymentOtherDescription; $PaymentTerms=$PO->PaymentOtherDescription;
} }
$advance=$PO->AdvanceAmount; $advance=$PO->AdvanceAmount;
$finCap=$PO->Fincap; $finCap=$PO->Fincap;
$modShp=$PO->Mode_Of_Shipment; $modShp=$PO->Mode_Of_Shipment;
if($PO->InsuranceNumber==''){
$insNo='No';
}
else{
$insNo=$PO->InsuranceNumber; $insNo=$PO->InsuranceNumber;
}
$supRef=$PO->Supplier_Reference; $supRef=$PO->Supplier_Reference;
$supOfferNo=$PO->Supplier_Offer_No; $supOfferNo=$PO->Supplier_Offer_No;
@ -584,7 +590,7 @@
<tbody> <tbody>
<tr> <tr>
<td colspan="4" rowspan="3" width="35%"> <td colspan="4" rowspan="3" width="35%">
<span><strong style="padding-left: 2px;">Payment terms :</strong><br><span style="padding-left: 2px;"><?php echo $PaymentTerms ."&nbsp;&nbsp;".$PaymentOtherDescription;?></span></span> <span><strong style="padding-left: 2px;">Payment terms :</strong><br><span style="padding-left: 2px;"><?php echo $PaymentTerms;?></span></span>
</td> </td>
<td style="text-align: center;background-color: #d2d2d2;""><strong>Total Amount&nbsp; <span style="font-family: DejaVu Sans; sans-serif;">&#8377;</span></strong></td> <td style="text-align: center;background-color: #d2d2d2;""><strong>Total Amount&nbsp; <span style="font-family: DejaVu Sans; sans-serif;">&#8377;</span></strong></td>
<td style="text-align: center;background-color: #d2d2d2;""><strong>Total CGST Amount&nbsp; <span style="font-family: DejaVu Sans; sans-serif;">&#8377;</span></strong></td> <td style="text-align: center;background-color: #d2d2d2;""><strong>Total CGST Amount&nbsp; <span style="font-family: DejaVu Sans; sans-serif;">&#8377;</span></strong></td>