This commit is contained in:
venbatechnologies 2018-03-16 15:52:06 +05:30
parent 0e825450f0
commit de12f4e157
4 changed files with 44 additions and 13 deletions

View File

@ -296,4 +296,4 @@ $route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
/* Location: ./application/config/routes.php */
$route['DeliverPerformance']="user/deliver_perform";
$route['DeliveryPerformance']="user/deliver_perform";

View File

@ -1380,10 +1380,10 @@ function Adduserdepartment()
function deliver_perform()
{
// if ($this->input->post('btn_submit')) {
$this->global['pageTitle'] = 'Siddharth : Delivery Performance';
if ($this->input->post('btn_submit')) {
$ab=$this->input->post('financialyear');
@ -1398,6 +1398,9 @@ function deliver_perform()
$data['per']=$this->user_model->deliver_perform($fa,$aa,$m);
// // print_r( $data['spurchse']);
}
$data['fy']=$this->user_model->fincalYear();
$this->loadviews("deliver_perform",$this->global,$data,NULL);
@ -1407,7 +1410,7 @@ function deliver_perform()
// }
}
}

View File

@ -146,17 +146,17 @@
</thead>
<tbody>
<?php if(!empty($per)){
$tr3=0;
$tr4=0;
$last = $this->uri->total_segments();
$ab=$this->uri->segment($last);
$tr1=0;
$tr2=0;
// $last = $this->uri->total_segments();
// $ab=$this->uri->segment($last);
$i=0;
foreach($per as $rel)
{
?>
<tr>
<td style="text-align:right"><span><?php echo ++$i;?></span></td>
<td style="text-align:left;"><span><?php echo ++$i;?></span></td>
<td ><?php
$itemdate=date("d-m-Y",strtotime($rel->invoice_date_created));
echo $itemdate;
@ -172,12 +172,12 @@
<td style="text-align:center;"><?php echo ($rel->invoice_number); ?></td>
<td class="amount"><?php
<td class="amount" style="text-align:right;"><?php
$tr1= $tr1 + round($rel->qty);
echo number_format(round($rel->qty));
?></td>
<td class="amount"><?php
<td class="amount" style="text-align:right;"><?php
$tr2= $tr2 + round($rel->qty);
echo number_format(round($rel->qty));
?></td>
@ -200,6 +200,34 @@
?>
</tbody>
<tfoot width="100%">
<td><strong>&nbsp</strong></td>
<td><strong>&nbsp</strong></td>
<td><strong>&nbsp</strong></td>
<td><strong>Total</strong></td>
<td><strong>&nbsp</strong></td>
<td class="amount" style="text-align:right"><strong>
<?php
{
echo $tr1;
}
?>
</strong>
</td>
<td class="amount" style="text-align:right"><strong>
<?php
{
echo $tr2;
}
?>
</strong>
</td>
<td><strong>&nbsp</strong></td>
</tfoot>
<?php

View File

@ -45,7 +45,7 @@
<a href="<?php echo base_url(); ?>Report_cumulative_raw" target="_blank" >Cumulative Report - Category Wise-Inward<p class="uk-text uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>Report_consolidate_category" target="_blank" >Consolidate Report - Category Wise-Inward<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>DeliverPerformance" target="_blank" > Report - DeliverPerformances<p class="uk-text-meta uk-margin-remove"></p></a>
<a href="<?php echo base_url(); ?>DeliveryPerformance" target="_blank" > Report - DeliveryPerformance<p class="uk-text-meta uk-margin-remove"></p></a>
</div>
</div>