store requisition,po pdf
This commit is contained in:
parent
c48d2a98c9
commit
1c09c70e3d
@ -101,7 +101,7 @@ define('PO_APPROVED', 'ST025');
|
|||||||
|
|
||||||
/*store Status*/
|
/*store Status*/
|
||||||
|
|
||||||
define('STORE_DRAFT', 'ST014');
|
define('STORE_DRAFT', 'ST043');
|
||||||
define('STORE_CREATED', 'ST015');
|
define('STORE_CREATED', 'ST015');
|
||||||
|
|
||||||
/*store requisition*/
|
/*store requisition*/
|
||||||
|
|||||||
0
application/controllers/MRIRcontroller.php
Normal file → Executable file
0
application/controllers/MRIRcontroller.php
Normal file → Executable file
@ -115,7 +115,7 @@ class storerequisitionlist extends BaseController
|
|||||||
function addNewRequistion()
|
function addNewRequistion()
|
||||||
{
|
{
|
||||||
$Status= $_GET['ID'];
|
$Status= $_GET['ID'];
|
||||||
$Requestedby = $_GET['RequestedBy'];
|
// $Requestedby = $_GET['RequestedBy'];
|
||||||
$CostCenter = $_GET['CostCenter'];
|
$CostCenter = $_GET['CostCenter'];
|
||||||
$DEPCode = $_GET['DEPCode'];
|
$DEPCode = $_GET['DEPCode'];
|
||||||
$CreateBy = $this->session->userdata ( 'userId' );
|
$CreateBy = $this->session->userdata ( 'userId' );
|
||||||
@ -124,6 +124,7 @@ class storerequisitionlist extends BaseController
|
|||||||
$DeletedRow = $this->input->post('txtDeletedRow');
|
$DeletedRow = $this->input->post('txtDeletedRow');
|
||||||
$RowCount = $_GET['txtRowCount'];
|
$RowCount = $_GET['txtRowCount'];
|
||||||
//echo $RowCount; die();
|
//echo $RowCount; die();
|
||||||
|
$Requestedby = $this->session->userdata ( 'EmpID' );
|
||||||
$comma_separated = explode(':', $DeletedRow);
|
$comma_separated = explode(':', $DeletedRow);
|
||||||
$IsExists = $this->storerequistion_model->RequistionIsExists($Requestedby);
|
$IsExists = $this->storerequistion_model->RequistionIsExists($Requestedby);
|
||||||
|
|
||||||
@ -408,7 +409,7 @@ class storerequisitionlist extends BaseController
|
|||||||
|
|
||||||
$Request = array('MaterialCode'=>$MaterialCode,'Status'=>$Status,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks);
|
$Request = array('MaterialCode'=>$MaterialCode,'Status'=>$Status,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks);
|
||||||
//print_r($Request);die();
|
//print_r($Request);die();
|
||||||
$addReq = $this->storerequistion_model->addstoreRequistion($Request);
|
$addReq = $this->storerequistion_model->upstoreRequistion($Request);
|
||||||
|
|
||||||
$SkipInsert = "False";
|
$SkipInsert = "False";
|
||||||
if(count($comma_separated) > 0)
|
if(count($comma_separated) > 0)
|
||||||
@ -425,25 +426,27 @@ class storerequisitionlist extends BaseController
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($SkipInsert == "False")
|
if($SkipInsert == "False")
|
||||||
{
|
{
|
||||||
//echo "string"; die();
|
//echo "string"; die();
|
||||||
$MaterialCode = $this->input->post('EditMaterialCode'.$i);
|
$MaterialCode = $this->input->post('EditMaterialCode'.$i);
|
||||||
echo"MaterialCode"; die();
|
//echo"MaterialCode"; die();
|
||||||
$QuantityRequired=$this->input->post('Quantity'.$i);
|
$QuantityRequired=$this->input->post('Quantity'.$i);
|
||||||
$Remarks=$this->input->post('Remarks'.$i);
|
$Remarks=$this->input->post('Remarks'.$i);
|
||||||
|
|
||||||
$Request = array('MaterialCode'=>$MaterialCode,'Status'=>$Status,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks,'StoreReqNo'=>$StoreReqNo);
|
$Request = array('MaterialCode'=>$MaterialCode,'Status'=>$Status,'QuantityRequired'=>$QuantityRequired,'Remarks'=>$Remarks,'StoreReqNo'=>$StoreReqNo);
|
||||||
|
|
||||||
//print_r($Request);die();
|
//print_
|
||||||
|
r($Request);die();
|
||||||
|
|
||||||
$IsExists = $this->storerequistion_model->LineItemIsExists($StoreReqNo,$MaterialCode);
|
$IsExists = $this->storerequistion_model->LineItemIsExists($StoreReqNo,$MaterialCode);
|
||||||
if(count( $IsExists) == 0)
|
if(count( $IsExists) == 0)
|
||||||
{
|
{
|
||||||
$ReqDetails = array('StoreReqNo'=>$StoreReqNo, 'MaterialCode'=>$MaterialCode,'QuantityRequired'=>$QuantityRequired,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
$ReqDetails = array('StoreReqNo'=>$StoreReqNo, 'MaterialCode'=>$MaterialCode,'QuantityRequired'=>$QuantityRequired,'UpdatedBy'=>$UpdatedBy,'UpdatedOn'=>$updatedDate);
|
||||||
|
|
||||||
$this->storerequistion_model->addRequistionDetails($ReqDetails);
|
$this->storerequistion_model->upRequistionDetails($ReqDetails);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
0
application/logs/log-2017-07-06.php
Normal file → Executable file
0
application/logs/log-2017-07-06.php
Normal file → Executable file
68
application/logs/log-2017-07-07.php
Normal file
68
application/logs/log-2017-07-07.php
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:22 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:48:48 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:09 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 06:49:25 --> Severity: Notice --> Undefined property: stdClass::$StatusName /opt/lampp/htdocs/siddharth_application/application/views/editstorerequisition.php 353
|
||||||
|
ERROR - 2017-07-07 06:49:43 --> Query error: Cannot add or update a child row: a foreign key constraint fails (`kasiram9_SiddharthIndustries`.`T_Store_Requestion_Details`, CONSTRAINT `T_StoreRequestion_DetailsReqNo` FOREIGN KEY (`StoreReqNo`) REFERENCES `T_Store_Requestion_Master` (`StoreReqNo`) ON UPD)
|
||||||
|
ERROR - 2017-07-07 06:59:56 --> Severity: Notice --> Undefined property: stdClass::$StatusName /opt/lampp/htdocs/siddharth_application/application/views/editstorerequisition.php 353
|
||||||
|
ERROR - 2017-07-07 07:00:39 --> Severity: Notice --> Undefined property: stdClass::$StatusName /opt/lampp/htdocs/siddharth_application/application/views/editstorerequisition.php 353
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:02 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:23 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/approvalstorerequisitionslip.php 33
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:01:40 --> Severity: Notice --> Undefined index: RequisitionStatus /opt/lampp/htdocs/siddharth_application/application/views/storerequisitionlisting.php 53
|
||||||
|
ERROR - 2017-07-07 07:13:25 --> 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-07-07 07:13:32 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/fixed_positioner.cls.php 78
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/fixed_positioner.cls.php 87
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/fixed_positioner.cls.php 95
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:32 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/inline_renderer.cls.php 157
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/style.cls.php 948
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/table_cell_frame_reflower.cls.php 131
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
|
ERROR - 2017-07-07 07:13:41 --> Severity: Warning --> A non-numeric value encountered /opt/lampp/htdocs/siddharth_application/application/third_party/dompdf/include/page_frame_decorator.cls.php 464
|
||||||
0
application/models/mrir_model.php
Normal file → Executable file
0
application/models/mrir_model.php
Normal file → Executable file
@ -490,9 +490,10 @@ function purchaseorderListing($forwhat='')
|
|||||||
function GetServicePurchaseOrderDetailsForPrint($PONO = '')
|
function GetServicePurchaseOrderDetailsForPrint($PONO = '')
|
||||||
{
|
{
|
||||||
|
|
||||||
$subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM,
|
$subQuery ='SELECT distinct LineItem.LineItemNo,LineItem.ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM,
|
||||||
Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount
|
Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount
|
||||||
,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,CostCenterCode ,sup.SupplierName,sup.Address,POMaster.DeliveryAddress,POMaster.DeliveryDate,POMaster.Status,POMaster.PODate,POMaster.PONO,POMaster.ServiceDescription FROM T_PurchaseOrder_LineItem LineItem
|
,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,LineItem.CostCenterCode,sup.SupplierName,sup.Address,POMaster.DeliveryAddress,POMaster.DeliveryDate,POMaster.Status,POMaster.PODate,POMaster.PONO,POMaster.ServiceDescription,ReqMas.Requestedby FROM T_PurchaseOrder_LineItem LineItem
|
||||||
|
join T_Requestion_Master ReqMas on ReqMas.ReqNo=LineItem.ReqNo
|
||||||
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||||
join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
||||||
join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO
|
join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO
|
||||||
@ -530,17 +531,18 @@ function purchaseorderListing($forwhat='')
|
|||||||
function GetRevenuePurchaseOrderDetailsForPDF($PONO = '')
|
function GetRevenuePurchaseOrderDetailsForPDF($PONO = '')
|
||||||
{
|
{
|
||||||
|
|
||||||
$subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName,
|
$subQuery ='SELECT distinct LineItem.LineItemNo,LineItem.ReqNo,Mat.MaterialCode,Mat.MaterialName,
|
||||||
Mat.UOM,Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue ,
|
Mat.UOM,Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue ,
|
||||||
ROUND(((AfterPackagingValue + AfterFreightValue + AfterExciseDuty + AfterVAT + AfterCST +
|
ROUND(((AfterPackagingValue + AfterFreightValue + AfterExciseDuty + AfterVAT + AfterCST +
|
||||||
AfterGST + AfterOtherTaxes + Insurance)) ,2)as Taxamount ,
|
AfterGST + AfterOtherTaxes + Insurance)) ,2)as Taxamount ,
|
||||||
TotalValue,Tax.*,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address
|
TotalValue,Tax.*,LineItem.CostCenterCode , POMaster.*,sup.SupplierName,sup.Address,ReqMas.Requestedby
|
||||||
FROM T_PurchaseOrder_LineItem LineItem
|
FROM T_PurchaseOrder_LineItem LineItem
|
||||||
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
join T_Requestion_Master ReqMas on ReqMas.ReqNo=LineItem.ReqNo
|
||||||
join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||||
join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO
|
join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
||||||
join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID
|
join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO
|
||||||
where LineItem.PONO =?';
|
join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID
|
||||||
|
where LineItem.PONO =?';
|
||||||
|
|
||||||
$query = $this->db->query($subQuery,array($PONO));
|
$query = $this->db->query($subQuery,array($PONO));
|
||||||
|
|
||||||
@ -553,9 +555,9 @@ function purchaseorderListing($forwhat='')
|
|||||||
function GetImportPurchaseOrderDetailsForPDF($PONO = '')
|
function GetImportPurchaseOrderDetailsForPDF($PONO = '')
|
||||||
{
|
{
|
||||||
|
|
||||||
$subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName,
|
$subQuery ='SELECT distinct LineItem.LineItemNo,LineItem.ReqNo,Mat.MaterialCode,Mat.MaterialName,
|
||||||
Mat.UOM,Quantity,ReqMas.Requestedby,Rate,ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount ,
|
Mat.UOM,Quantity,ReqMas.Requestedby,Rate,ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount ,
|
||||||
ProductPrice,Tax.*,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address
|
ProductPrice,Tax.*,LineItem.CostCenterCode , POMaster.*,sup.SupplierName,sup.Address
|
||||||
FROM T_PurchaseOrder_LineItem LineItem
|
FROM T_PurchaseOrder_LineItem LineItem
|
||||||
join T_Requestion_Master ReqMas on ReqMas.ReqNo=LineItem.ReqNo
|
join T_Requestion_Master ReqMas on ReqMas.ReqNo=LineItem.ReqNo
|
||||||
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||||
|
|||||||
@ -110,6 +110,31 @@ class storerequistion_model extends CI_Model
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*this function used to Update Store Requistion*/
|
||||||
|
function upstoreRequistion($Request)
|
||||||
|
{
|
||||||
|
//print_r($Request);
|
||||||
|
$this->db->trans_start();
|
||||||
|
$this->db->update('T_Store_Requestion_Details',$Request);
|
||||||
|
$insert_id = $this->db->affected_rows();
|
||||||
|
$this->db->trans_complete();
|
||||||
|
if($insert_id>0)
|
||||||
|
{
|
||||||
|
$subQuery = 'select max(StoreReqLineItemNo) as StoreReqLineItemNo from T_Store_Requestion_Details';
|
||||||
|
|
||||||
|
$query = $this->db->query($subQuery);
|
||||||
|
|
||||||
|
return $query->result_array();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to add the Line item details to the Database
|
* This function is used to add the Line item details to the Database
|
||||||
@ -128,6 +153,23 @@ class storerequistion_model extends CI_Model
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is used to update the Line item details to the Database
|
||||||
|
* @return array $result : This is result of the query
|
||||||
|
*/
|
||||||
|
function upRequistionDetails($StoreReqLineItemNo)
|
||||||
|
{
|
||||||
|
//echo "nsmdnsjkkjasdf"; die();
|
||||||
|
$this->db->trans_start();
|
||||||
|
$this->db->update('T_Store_Requestion_Details', $StoreReqLineItemNo
|
||||||
|
);
|
||||||
|
$insert_id = $this->db->affected_rows();
|
||||||
|
$this->db->trans_complete();
|
||||||
|
//print_r($this->db->last_query());
|
||||||
|
return $insert_id;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
155
application/third_party/dompdf/lib/fonts/log.htm
vendored
155
application/third_party/dompdf/lib/fonts/log.htm
vendored
@ -1,4 +1,4 @@
|
|||||||
<span style='color: #900'>10,240 KB</span> <span style='color: #090'>232.5711 ms</span><br /><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
<span style='color: #900'>8,192 KB</span> <span style='color: #090'>126.3251 ms</span><br /><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
<h4>A PHP Error was encountered</h4>
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
@ -7,4 +7,157 @@
|
|||||||
<p>Filename: include/style.cls.php</p>
|
<p>Filename: include/style.cls.php</p>
|
||||||
<p>Line Number: 948</p>
|
<p>Line Number: 948</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/table_cell_frame_reflower.cls.php</p>
|
||||||
|
<p>Line Number: 131</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
|
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: Warning</p>
|
||||||
|
<p>Message: A non-numeric value encountered</p>
|
||||||
|
<p>Filename: include/page_frame_decorator.cls.php</p>
|
||||||
|
<p>Line Number: 464</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
0
application/views/Editmaterialinspectionreport.php
Normal file → Executable file
0
application/views/Editmaterialinspectionreport.php
Normal file → Executable file
@ -90,7 +90,7 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
<center><h4> Store Requisition Details - REQNo</h4></center>
|
<center><h4> Store Requisition Details - STORE REQNo</h4></center>
|
||||||
</div>
|
</div>
|
||||||
<div align="left">
|
<div align="left">
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ function saveToDatabase(ReqId,Index,option,com)
|
|||||||
else if (option == 1 )
|
else if (option == 1 )
|
||||||
{
|
{
|
||||||
alert(' The Approval ');
|
alert(' The Approval ');
|
||||||
Status='ST036';
|
Status='<?php echo STORE_APPROVAL ?>' ;
|
||||||
var strMsg='Do YOu want to Approve this requisition?';
|
var strMsg='Do YOu want to Approve this requisition?';
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -374,7 +374,8 @@ function saveToDatabase(ReqId,Index,option,com)
|
|||||||
{
|
{
|
||||||
alert('The Rejects' );
|
alert('The Rejects' );
|
||||||
|
|
||||||
Status='ST039';
|
|
||||||
|
Status='<?php echo STORE_REJECT ?>' ;
|
||||||
var strMsg='Do You want to Reject this requisition?';
|
var strMsg='Do You want to Reject this requisition?';
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -382,7 +383,7 @@ function saveToDatabase(ReqId,Index,option,com)
|
|||||||
var answer = confirm(strMsg);
|
var answer = confirm(strMsg);
|
||||||
if (answer)
|
if (answer)
|
||||||
{
|
{
|
||||||
//$('#content').loader('show');
|
$('#content').loader('show');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data:{id:id,newcomments:newcomments},
|
data:{id:id,newcomments:newcomments},
|
||||||
type:"POST",
|
type:"POST",
|
||||||
@ -392,7 +393,7 @@ function saveToDatabase(ReqId,Index,option,com)
|
|||||||
{
|
{
|
||||||
$('#content').loader('hide');
|
$('#content').loader('hide');
|
||||||
alert(data);
|
alert(data);
|
||||||
location.reload();
|
window.location = "storerequisitionlisting";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
16
application/views/importpopdf.php
Executable file → Normal file
16
application/views/importpopdf.php
Executable file → Normal file
@ -70,6 +70,18 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// echo $CurrencyCode;
|
||||||
|
|
||||||
|
$DEPNAME='';
|
||||||
|
|
||||||
|
if(!empty($DEPCODE))
|
||||||
|
{
|
||||||
|
foreach ($DEPCODE as $DEP)
|
||||||
|
{
|
||||||
|
$DEPNAME=$DEP->DepartmentName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
@ -306,7 +318,7 @@
|
|||||||
|
|
||||||
--><tr>
|
--><tr>
|
||||||
<td align="right"><p><b>Total Order Amount </b></p></td>
|
<td align="right"><p><b>Total Order Amount </b></p></td>
|
||||||
<td align="right"><?php echo "$CurrencyCode ($CurrencyName)" number_format($TotalOrderValue,2);?></td>
|
<td align="right"><?php echo "$CurrencyCode ($CurrencyName)$TotalOrderValue";?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
@ -315,7 +327,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Requition Number :<br/><?php echo $ReqNo;?></td>
|
<td>Requition Number :<br/><?php echo $ReqNo;?></td>
|
||||||
<td>Requested by :<br/><?php echo $ReqBy;?></td>
|
<td>Requested by :<br/><?php echo $ReqBy;?></td>
|
||||||
<!--<td>Requisted Department :<br/>Store</td>-->
|
<td>Requisted Department :<br/><?php echo $DEPNAME?></td>
|
||||||
<td>Cost center :<br/><?php echo $CostCenterCode?></td>
|
<td>Cost center :<br/><?php echo $CostCenterCode?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|||||||
0
application/views/materialinspectionreport.php
Normal file → Executable file
0
application/views/materialinspectionreport.php
Normal file → Executable file
@ -59,7 +59,7 @@
|
|||||||
{
|
{
|
||||||
foreach ($Currencytype as $CURRE)
|
foreach ($Currencytype as $CURRE)
|
||||||
{
|
{
|
||||||
$CurrencyCode=$CURRE->Currency_Code;
|
//$CurrencyCode=$CURRE->Currency_Code;
|
||||||
$CurrencyName=$CURRE->FontCode2000;
|
$CurrencyName=$CURRE->FontCode2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,6 +23,8 @@
|
|||||||
$ServiceDescription = '';
|
$ServiceDescription = '';
|
||||||
$CostCenterCode='';
|
$CostCenterCode='';
|
||||||
$PaymentTerms='';
|
$PaymentTerms='';
|
||||||
|
$ReqNo='';
|
||||||
|
$ReqBy='';
|
||||||
if(!empty($CompanyDetails))
|
if(!empty($CompanyDetails))
|
||||||
{
|
{
|
||||||
foreach ($CompanyDetails as $CO)
|
foreach ($CompanyDetails as $CO)
|
||||||
@ -37,9 +39,9 @@
|
|||||||
|
|
||||||
foreach ($POItem as $PO)
|
foreach ($POItem as $PO)
|
||||||
{
|
{
|
||||||
$PONO = $PO->PONO;
|
$PONO = $PO->PONO;
|
||||||
$postatus= $PO->Status;
|
$postatus= $PO->Status;
|
||||||
$SuplierName = $PO->SupplierName;
|
$SuplierName = $PO->SupplierName;
|
||||||
$SuplierAddress = $PO->Address;
|
$SuplierAddress = $PO->Address;
|
||||||
$DeliveryAddress = $PO->DeliveryAddress;
|
$DeliveryAddress = $PO->DeliveryAddress;
|
||||||
$dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata'));
|
$dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata'));
|
||||||
@ -49,12 +51,11 @@
|
|||||||
$ServiceDescription =$PO->ServiceDescription;
|
$ServiceDescription =$PO->ServiceDescription;
|
||||||
$CostCenterCode=$PO->CostCenterCode;
|
$CostCenterCode=$PO->CostCenterCode;
|
||||||
$PaymentTerms=$PO->PaymentTerms;
|
$PaymentTerms=$PO->PaymentTerms;
|
||||||
|
$ReqNo=$PO->ReqNo;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $PaymentTerms;
|
|
||||||
|
|
||||||
|
|
||||||
if(!empty($Requestername))
|
if(!empty($Requestername))
|
||||||
|
|
||||||
@ -74,7 +75,7 @@
|
|||||||
{
|
{
|
||||||
foreach ($Currencytype as $CURRE)
|
foreach ($Currencytype as $CURRE)
|
||||||
{
|
{
|
||||||
$CurrencyCode=$CURRE->Currency_Code;
|
// $CurrencyCode=$CURRE->Currency_Code;
|
||||||
$CurrencyName=$CURRE->FontCode2000;
|
$CurrencyName=$CURRE->FontCode2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$DraftCount = '';
|
$DraftCount =0;
|
||||||
$StoreReqNo = '';
|
$StoreReqNo = '';
|
||||||
if(!empty($Status))
|
//echo $StoreReqNo;
|
||||||
{
|
|
||||||
foreach ($Status as $St)
|
if(!empty($Store))
|
||||||
|
{
|
||||||
|
foreach ($Store as $St)
|
||||||
{
|
{
|
||||||
$DraftCount = $St->cnt;
|
|
||||||
|
if ($St->StatusName=='DRAFT')
|
||||||
|
{
|
||||||
|
$DraftCount++;
|
||||||
$StoreReqNo = $St->StoreReqNo;
|
$StoreReqNo = $St->StoreReqNo;
|
||||||
}
|
}
|
||||||
//echo $ReqNo;
|
|
||||||
|
}
|
||||||
|
//echo $StoreReqNo;
|
||||||
}?>
|
}?>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
span.highlight {
|
span.highlight {
|
||||||
|
|||||||
@ -116,7 +116,7 @@ span.highlight {
|
|||||||
<label>Requested By</label>
|
<label>Requested By</label>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?php
|
<?php
|
||||||
$data = array('name' => 'ReqBy','value' => set_value('ReqBy'),'id'=>'ReqBy', 'class' => 'form-control' ,'readonly' => 'true');
|
$data = array('name' => 'Requestedby','value' => set_value('Requestedby'),'id'=>'Requestedby', 'class' => 'form-control' ,'readonly' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
0
application/views/viewmaterialinspectionreport.php
Normal file → Executable file
0
application/views/viewmaterialinspectionreport.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user