From 7f5ba30d30ed3ce58f72a589aba7a742a03efc8e Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Tue, 21 Nov 2017 13:38:06 +0530 Subject: [PATCH] emergency po new --- application/controllers/cashbook.php | 0 .../controllers/emergencypurchaseorder.php | 28 +- application/logs/log-2017-11-16.php | 0 application/logs/log-2017-11-21.php | 205 ++++++++++++ application/models/cashbook_model.php | 0 application/models/purchaseorder_model.php | 6 +- application/views/addnewIncomeExpense.php | 0 application/views/alterpurchaseorder.php | 299 ++++++++++++++++-- application/views/cashbooklisting.php | 0 application/views/cashbookpdf.php | 0 .../views/editRevenuepurchaseorder.php | 15 +- application/views/income_expense_list.php | 0 application/views/viewIndIncomeExpense.php | 0 uploads/BillFiles/importpdf.png | Bin uploads/BillFiles/pdferror.png | Bin 0 -> 170911 bytes uploads/BillFiles/phperror.png | Bin uploads/BillFiles/phperror1.png | Bin uploads/BillFiles/reqlineitem.png | Bin 0 -> 155082 bytes uploads/BillFiles/reqlineitem1.png | Bin 0 -> 155082 bytes uploads/BillFiles/venbalogo.png | Bin 0 -> 2377 bytes uploads/BillFiles/venbalogo1.png | Bin 0 -> 2377 bytes uploads/BillFiles/venbalogo2.png | Bin 0 -> 2377 bytes 22 files changed, 511 insertions(+), 42 deletions(-) mode change 100644 => 100755 application/controllers/cashbook.php mode change 100644 => 100755 application/controllers/emergencypurchaseorder.php mode change 100644 => 100755 application/logs/log-2017-11-16.php create mode 100644 application/logs/log-2017-11-21.php mode change 100644 => 100755 application/models/cashbook_model.php mode change 100644 => 100755 application/views/addnewIncomeExpense.php mode change 100644 => 100755 application/views/alterpurchaseorder.php mode change 100644 => 100755 application/views/cashbooklisting.php mode change 100644 => 100755 application/views/cashbookpdf.php mode change 100644 => 100755 application/views/income_expense_list.php mode change 100644 => 100755 application/views/viewIndIncomeExpense.php mode change 100644 => 100755 uploads/BillFiles/importpdf.png create mode 100644 uploads/BillFiles/pdferror.png mode change 100644 => 100755 uploads/BillFiles/phperror.png mode change 100644 => 100755 uploads/BillFiles/phperror1.png create mode 100644 uploads/BillFiles/reqlineitem.png create mode 100644 uploads/BillFiles/reqlineitem1.png create mode 100644 uploads/BillFiles/venbalogo.png create mode 100644 uploads/BillFiles/venbalogo1.png create mode 100644 uploads/BillFiles/venbalogo2.png diff --git a/application/controllers/cashbook.php b/application/controllers/cashbook.php old mode 100644 new mode 100755 diff --git a/application/controllers/emergencypurchaseorder.php b/application/controllers/emergencypurchaseorder.php old mode 100644 new mode 100755 index c219ad59..00bb4192 --- a/application/controllers/emergencypurchaseorder.php +++ b/application/controllers/emergencypurchaseorder.php @@ -136,7 +136,10 @@ class emergencypurchaseorder extends BaseController function addNewServicePurchaseOrder() { - + echo "t54"; + + + //die(); $POdt =$this->input->post('PODate'); $PODate = $this->getDateformat($POdt); $SupplierID = $this->input->post('drpSupplier'); @@ -299,8 +302,19 @@ class emergencypurchaseorder extends BaseController } + +if($POStatus==SPECIAL_PO){ + + $file =$this->addfile(); + + $myfile = array('FilePath'=>$file,'MaterialCode'=>$MaterialCode,'PONO'=>$PONO); + $result= $this->purchaseorder_model->fileupload($myfile); + } + } + + if($POStatus == REQ_DRAFT) { echo 'Emergency Service Purchase Order Saved Successfully!The PO NO Is: '.$PONO; @@ -515,6 +529,9 @@ $RequestedBy = $this->input->post('drpDepartment'); if($txtspl==1 || $txtspl==2) { + //secho "cwwe"; + //die(); + $PONOigr = $PONO; //echo $PONOigr; @@ -552,7 +569,6 @@ $RequestedBy = $this->input->post('drpDepartment'); - $IGRNO = ''; if(count($igrM)>0) { @@ -561,7 +577,7 @@ $RequestedBy = $this->input->post('drpDepartment'); $IGRNO=$key->IGRNO; } } - //echo $IGRNO; + // echo $IGRNO; $IGRItemStatus = REQITEM_NEW; @@ -644,16 +660,14 @@ $RequestedBy = $this->input->post('drpDepartment'); } - - for ($i = 1; $i <= $splRow; $i++) - { + $file =$this->addfile(); $emergencyitemcode = $this->input->post('materialCode'.$i); $myfile = array('FilePath'=>$file,'MaterialCode'=>$emergencyitemcode,'PONO'=>$PONO,'IGRNO'=>$IGRNO); $result= $this->purchaseorder_model->fileupload($myfile); - } + } diff --git a/application/logs/log-2017-11-16.php b/application/logs/log-2017-11-16.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-11-21.php b/application/logs/log-2017-11-21.php new file mode 100644 index 00000000..09133bbb --- /dev/null +++ b/application/logs/log-2017-11-21.php @@ -0,0 +1,205 @@ + + +ERROR - 2017-11-21 07:28:05 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/grad.php 3 +ERROR - 2017-11-21 07:28:05 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; mpdfform has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/mpdfform.php 3 +ERROR - 2017-11-21 07:28:05 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/cssmgr.php 3 +ERROR - 2017-11-21 07:28:05 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; otl has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/otl.php 12 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: Notice --> Undefined index: dom /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/mpdf.php 26073 +ERROR - 2017-11-21 07:28:05 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; TTFontFile has a deprecated constructor /opt/lampp/htdocs/siddharth_application/application/third_party/mpdf/classes/ttfontsuni.php 51 +ERROR - 2017-11-21 07:43:29 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 07:43:29 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 07:43:29 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 07:43:29 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 07:43:29 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 07:44:35 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 07:45:12 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 07:46:05 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 07:46:05 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 07:46:05 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 07:46:05 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 07:46:05 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 07:50:07 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 07:50:07 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 07:50:07 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 07:50:07 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 07:50:07 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 07:51:09 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_driver.php 77 +ERROR - 2017-11-21 07:51:09 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_driver.php 77 +ERROR - 2017-11-21 07:51:09 --> Unable to connect to the database +ERROR - 2017-11-21 07:51:27 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_driver.php 77 +ERROR - 2017-11-21 07:51:27 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_driver.php 77 +ERROR - 2017-11-21 07:51:27 --> Unable to connect to the database +ERROR - 2017-11-21 07:52:32 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 07:52:32 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 07:52:32 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 07:52:32 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 07:52:32 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 07:54:20 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 07:55:53 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 07:55:53 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 07:55:53 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 07:55:53 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 07:55:53 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 07:57:57 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:00:06 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:00:06 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:00:06 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:00:06 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:00:06 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:02:22 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:02:22 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:02:22 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:02:22 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:02:22 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:02:35 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:02:35 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:02:35 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:02:35 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:02:35 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:04:19 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:04:19 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:04:19 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:04:19 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:04:19 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:07:52 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:07:52 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:07:52 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:07:52 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:07:52 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:09:05 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:09:49 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:09:49 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:09:49 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:09:49 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:09:49 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:15:41 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:15:41 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:15:41 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:15:41 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:15:41 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:17:12 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:23:16 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:23:16 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:23:16 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:23:16 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:23:16 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:26:03 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:26:03 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:26:03 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:26:03 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:26:03 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:32:26 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:32:26 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:32:26 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:32:26 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:32:26 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:33:43 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:35:41 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:35:41 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:35:41 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:35:41 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:35:41 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:37:17 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:41:37 --> Severity: Notice --> Undefined property: stdClass::$AvlBudAmt /opt/lampp/htdocs/siddharth_application/application/views/editimportpo.php 2715 +ERROR - 2017-11-21 08:41:44 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:42:06 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:42:13 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:42:28 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:43:47 --> Query error: Unknown column 'mm.MaterialName' in 'field list' +ERROR - 2017-11-21 08:44:24 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:44:24 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:44:24 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:44:24 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:44:24 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:45:57 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:45:57 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:45:57 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:45:57 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:45:57 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4095 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4095 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4096 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4096 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4096 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4096 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4098 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4098 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4100 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4100 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4101 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4101 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4102 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4102 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4103 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4103 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Undefined variable: gd /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4104 +ERROR - 2017-11-21 08:47:42 --> Severity: Notice --> Trying to get property of non-object /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4104 +ERROR - 2017-11-21 08:50:56 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 08:50:56 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:50:56 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:50:56 --> Severity: Notice --> Undefined property: stdClass::$MaterialCode /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:50:56 --> Severity: Notice --> Undefined property: stdClass::$MaterialName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 4097 +ERROR - 2017-11-21 08:56:12 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:56:12 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:56:12 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:56:12 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:56:12 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 08:57:22 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 08:58:10 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 08:58:10 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 08:58:10 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 08:58:10 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 08:58:10 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 09:00:44 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 09:00:44 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 09:00:44 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 09:00:44 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 09:00:44 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 09:01:37 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-11-21 09:01:50 --> Severity: Notice --> Undefined property: stdClass::$FirstName /opt/lampp/htdocs/siddharth_application/application/views/editRevenuepurchaseorder.php 128 +ERROR - 2017-11-21 09:02:01 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 233 +ERROR - 2017-11-21 09:02:01 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 234 +ERROR - 2017-11-21 09:02:01 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 235 +ERROR - 2017-11-21 09:02:01 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 281 +ERROR - 2017-11-21 09:02:01 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/siddharth_application/application/views/alterpurchaseorder.php 309 +ERROR - 2017-11-21 09:03:09 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 diff --git a/application/models/cashbook_model.php b/application/models/cashbook_model.php old mode 100644 new mode 100755 diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index 9c2d39b0..a19f3ace 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -35,11 +35,11 @@ class purchaseorder_model extends CI_Model function getfunction($pono) { $this->db->distinct(); - $this->db->select('bill.PONO,mstr.IGRNO,bill.BillNo,bill.MaterialCode,bill.FilePath,mstr.DeliveryChellanOrInvoiceNo,mstr.DeliveryChellanDate,mstr.VehicleNo,mstr.CourierNo,dtl.QuantityAsPerInvoice,pom.POType,mm.MaterialName'); + $this->db->select('bill.PONO,mstr.IGRNO,bill.BillNo,,bill.FilePath,mstr.DeliveryChellanOrInvoiceNo,mstr.DeliveryChellanDate,mstr.VehicleNo,mstr.CourierNo,dtl.QuantityAsPerInvoice,pom.POType'); $this->db->from('T_PurchaseOrder_BillUpload bill'); - $this->db->join('T_IGR_Master mstr','bill.IGRNO = mstr.IGRNO'); + $this->db->join('T_IGR_Master mstr','bill.PONO = mstr.PONO'); $this->db->join('T_IGR_Details dtl','mstr.IGRNO = dtl.IGRNO'); - $this->db->join('T_MaterialMaster mm','mm.MaterialCode = bill.MaterialCode'); + // $this->db->join('T_MaterialMaster mm','mm.MaterialCode = bill.MaterialCode'); $this->db->join('T_PurchaseOrder_Master pom','pom.PONO = bill.PONO'); $this->db->where('bill.PONO',$pono); //$this->db->or_where('pom.status',SPECIAL_PO); diff --git a/application/views/addnewIncomeExpense.php b/application/views/addnewIncomeExpense.php old mode 100644 new mode 100755 diff --git a/application/views/alterpurchaseorder.php b/application/views/alterpurchaseorder.php old mode 100644 new mode 100755 index 476e0785..056e8815 --- a/application/views/alterpurchaseorder.php +++ b/application/views/alterpurchaseorder.php @@ -1731,6 +1731,10 @@ function calculatePackaging(isEdit) function SpecialPOcheck() { + + + + // alert('splpo') $('#content').loader('show'); POcheck=$("input:radio[name='Quality']:checked").val(); @@ -1740,17 +1744,21 @@ function SpecialPOcheck() var row=$('#txtRowCount1').val(); var PO=$('#POType').val(); - if(splrow!=row) - { - alert("You havent add all the material details") - return false; - } + // if(splrow!=row) + // { + // alert("You havent add all the material details") + // return false; + // } - else - { + // else + // { if(PO=='REVENUE') { + var images = $('#images').val(); + + + if(POcheck==0) { $('#txtSpecial').val(1); @@ -1768,6 +1776,10 @@ function SpecialPOcheck() RevenueSave(4); } + + + + } @@ -1779,7 +1791,7 @@ function SpecialPOcheck() Save(2) } - } + //} } /* Set the Packaging calculation option for calculating Packaging */ @@ -1801,6 +1813,7 @@ function SpecialPOcheck() //alert('normalemergency'); $('#txtSpecial').val(0); + $('#content').loader('show'); RevenueSave(1) } else @@ -1825,7 +1838,7 @@ function SpecialPOcheck() else { //window.location.href ="purchaseorder/addNewPurchaseOrder"; - $('#filemodel').modal('show'); + $('#servicemodel').modal('show'); //$('#txtSpecialservice').val(1); //Save(2) @@ -2960,12 +2973,14 @@ function populateValueMainFormForDeleteItem(rowid)