report
This commit is contained in:
parent
0e825450f0
commit
de12f4e157
@ -296,4 +296,4 @@ $route['ncrlist'] = "purchaseorder/Nonconfirmativelist";
|
|||||||
/* Location: ./application/config/routes.php */
|
/* Location: ./application/config/routes.php */
|
||||||
|
|
||||||
|
|
||||||
$route['DeliverPerformance']="user/deliver_perform";
|
$route['DeliveryPerformance']="user/deliver_perform";
|
||||||
|
|||||||
@ -1380,10 +1380,10 @@ function Adduserdepartment()
|
|||||||
|
|
||||||
function deliver_perform()
|
function deliver_perform()
|
||||||
{
|
{
|
||||||
// if ($this->input->post('btn_submit')) {
|
|
||||||
|
|
||||||
$this->global['pageTitle'] = 'Siddharth : Delivery Performance';
|
$this->global['pageTitle'] = 'Siddharth : Delivery Performance';
|
||||||
|
if ($this->input->post('btn_submit')) {
|
||||||
|
|
||||||
$ab=$this->input->post('financialyear');
|
$ab=$this->input->post('financialyear');
|
||||||
|
|
||||||
@ -1398,6 +1398,9 @@ function deliver_perform()
|
|||||||
$data['per']=$this->user_model->deliver_perform($fa,$aa,$m);
|
$data['per']=$this->user_model->deliver_perform($fa,$aa,$m);
|
||||||
|
|
||||||
// // print_r( $data['spurchse']);
|
// // print_r( $data['spurchse']);
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['fy']=$this->user_model->fincalYear();
|
||||||
|
|
||||||
$this->loadviews("deliver_perform",$this->global,$data,NULL);
|
$this->loadviews("deliver_perform",$this->global,$data,NULL);
|
||||||
|
|
||||||
@ -1407,7 +1410,7 @@ function deliver_perform()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -146,17 +146,17 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php if(!empty($per)){
|
<?php if(!empty($per)){
|
||||||
$tr3=0;
|
$tr1=0;
|
||||||
$tr4=0;
|
$tr2=0;
|
||||||
$last = $this->uri->total_segments();
|
// $last = $this->uri->total_segments();
|
||||||
$ab=$this->uri->segment($last);
|
// $ab=$this->uri->segment($last);
|
||||||
$i=0;
|
$i=0;
|
||||||
foreach($per as $rel)
|
foreach($per as $rel)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr>
|
<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
|
<td ><?php
|
||||||
$itemdate=date("d-m-Y",strtotime($rel->invoice_date_created));
|
$itemdate=date("d-m-Y",strtotime($rel->invoice_date_created));
|
||||||
echo $itemdate;
|
echo $itemdate;
|
||||||
@ -172,12 +172,12 @@
|
|||||||
<td style="text-align:center;"><?php echo ($rel->invoice_number); ?></td>
|
<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));
|
echo number_format(round($rel->qty));
|
||||||
?></td>
|
?></td>
|
||||||
|
|
||||||
<td class="amount"><?php
|
<td class="amount" style="text-align:right;"><?php
|
||||||
$tr2= $tr2 + round($rel->qty);
|
$tr2= $tr2 + round($rel->qty);
|
||||||
echo number_format(round($rel->qty));
|
echo number_format(round($rel->qty));
|
||||||
?></td>
|
?></td>
|
||||||
@ -201,6 +201,34 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
<tfoot width="100%">
|
<tfoot width="100%">
|
||||||
|
|
||||||
|
|
||||||
|
<td><strong> </strong></td>
|
||||||
|
<td><strong> </strong></td>
|
||||||
|
<td><strong> </strong></td>
|
||||||
|
<td><strong>Total</strong></td>
|
||||||
|
<td><strong> </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> </strong></td>
|
||||||
|
|
||||||
|
|
||||||
</tfoot>
|
</tfoot>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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_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(); ?>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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user