From 37c934ae1e34da94bf96a603bbfea3cbfed60e96 Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Fri, 21 Jul 2017 16:13:13 +0530 Subject: [PATCH] Service status update --- application/views/serviceporeport.php | 119 ++++------ .../views/statusofservicepurchaseorder.php | 224 +++++++++++++++--- 2 files changed, 231 insertions(+), 112 deletions(-) diff --git a/application/views/serviceporeport.php b/application/views/serviceporeport.php index cb501dc0..1d94fbf2 100644 --- a/application/views/serviceporeport.php +++ b/application/views/serviceporeport.php @@ -19,92 +19,65 @@ - + + + - + - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
#SNO# PONO#SupplierName Material Code Material Name UOMQuantity Order Value Cost Center Name DescriptionRaised ByPO Raised By DepartmentPO DateWork StatusPO Date Remarks
1P0001A100IronKg1000C001NoRajasekarFinance18-7-2017 '','value' => set_value(''),'id'=>'POType', 'class' => 'form-control'); - echo form_input($data); - ?>
2P0002A1001IronKg1000C002NoRajasekarFinance18-7-2017 'POType','value' => set_value('POType'),'id'=>'POType', 'class' => 'form-control'); - echo form_input($data); - ?>
3P0003A1002IronKg1000C003NoRajasekarFinance18-7-2017 '','value' => set_value('POType'),'id'=>'POType', 'class' => 'form-control'); - echo form_input($data); - ?>
PONO?>SupplierName?>MaterialCode?>MaterialName?>UOM?>Quantity?>TotalValue?>CostCenterName?>ServiceMaterialDescription?>FirstName?>DepartmentName?>PODate); + $ReqDate = $rdate->format('d-m-Y'); + echo $ReqDate ?>ServiceWorkStatusRemarks ?>
diff --git a/application/views/statusofservicepurchaseorder.php b/application/views/statusofservicepurchaseorder.php index ac45478c..c5067811 100644 --- a/application/views/statusofservicepurchaseorder.php +++ b/application/views/statusofservicepurchaseorder.php @@ -7,8 +7,8 @@ $("#PONO").select2(); }); - +
@@ -18,6 +18,11 @@

+ 'form-label-left Status ','name' => 'Status','id' => 'Status'); + + echo form_open($this->config->base_url().'servicepurchaseorder/UpdateServiceStatus',$attributes); ?> +
@@ -26,19 +31,18 @@ /* $attributes = array('class' => 'form-label-left ','name' => 'IGR','id' => ''); */ /* echo form_open($this->config->base_url().'/inwardgateregister/addNewigr/',$attributes); */?> - +
'Purchase Order No'); - if(!empty($PO_NO)) + if(!empty($PO)) { //print_r($PO_NO); - foreach ($PO_NO as $SI): + foreach ($PO as $SI): - $options[$SI->PONO] = $SI->PONO .'-'. $SI->SupplierName ; - $PONO = $SI->PONO; - + $options[$SI->PONO] = $SI->PONO ; + // $PONO = $SI->PONO; endforeach; @@ -50,6 +54,49 @@
+
+ +
+ StatusCode] = $SI->StatusName ; + + + endforeach; + + } + + echo form_dropdown('WorkStatus', $options,set_value('WorkStatus'),'id="WorkStatus"' ,'class="form-control"' , 'required="true"'); + +?> + +
+
+
+ +
+ 'Remarks','value' => set_value('Remarks'),'id'=>'Remarks', 'class' => 'form-control' ); + echo form_input($data); + + +?> + +
+ + + +
+
+ + +
@@ -61,38 +108,26 @@
- +
- + + + + + - + - - - - + + + + + - - - - - - - - - - - + + @@ -101,12 +136,123 @@ -
- - - Submit -
+ + - \ No newline at end of file + \ No newline at end of file
S.NOS.NOReqNoReqedbyReqDateSupplierName Item CodeMaterialDescription UOMOrdered QuantityAccepted QuantityStatusRemarksOrdered QuantityRateWork Status
1P0001IronKg1000800 - '','value' => set_value(''),'id'=>'', 'class' => 'form-control'); - echo form_input($data); - ?>