change the currency format

This commit is contained in:
gayathri1990 2017-12-06 13:08:57 +05:30
parent a0b1e30c08
commit 8a877de003
9 changed files with 65 additions and 25 deletions

View File

@ -419,11 +419,11 @@ class report extends BaseController
public function cashbookmonthmenu()
{
$this->global['pageTitle'] = 'Cashbook - department - ';
$data['monthlymenupayments']=$this->dahsboard_Model->monthlypayments();
$this->global['pageTitle'] = 'Cashbook monthly ';
$data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise();
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
//print_r($data['departmentwise']);
$this->loadviews("cashbookmonthmenu",$this->global,$data, NULL);
$this->loadviews("cashbookyearmonthwise",$this->global,$data, NULL);
}
public function yearmonthwise()
{

View File

@ -0,0 +1,41 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2017-12-06 07:20:07 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:20:07 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:20:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:20:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:20:53 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:20:53 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:20:53 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:21:03 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:21:17 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:21:17 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:21:17 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 07:21:27 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 07:21:27 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:10:32 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:10:32 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:10:32 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:22 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:22 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:22 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:29 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:29 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:16:29 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:17:59 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:17:59 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:17:59 --> Severity: Notice --> Undefined property: stdClass::$month C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 68
ERROR - 2017-12-06 08:18:08 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:18:08 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:19:04 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:19:04 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:19:22 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:19:22 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:20:19 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:20:19 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-06 08:29:17 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\report.php 424
ERROR - 2017-12-06 08:31:42 --> Severity: Notice --> Undefined index: sid C:\xampp\htdocs\siddharth_application\application\controllers\report.php 430
ERROR - 2017-12-06 08:33:16 --> Severity: Notice --> Undefined index: sid C:\xampp\htdocs\siddharth_application\application\controllers\report.php 430

View File

@ -46,7 +46,7 @@ if(!empty($Indiancurrency))
<div class="col-md-8 col-md-offset-2">
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><b>Department Monthly Payments</b></center>
<center><b> Monthly(Department Wise) Payments</b></center>
</div>
<div class="btn-group btn-group-justified no-margin">
@ -77,10 +77,10 @@ if(!empty($Indiancurrency))
<!--<td align="left"><span><?php echo $dw->account_code?></span></td>-->
<td align="left"><span><?php echo $dw->name?></span></td>
<td align="left"><span><?php echo $dw->type?></span></td>
<td align="right"><span><?php echo $dw->total?></span></td>
<td align="right"><span><?php echo number_format($dw->total,2,'.','');?></span></td>
<td align="left"><span><?php echo $dw->description?></span></td>
</tr>

View File

@ -47,7 +47,7 @@ if(!empty($monthlyincreport))
<div class="col-md-8 col-md-offset-2">
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><b>Monthly Payments</b></center>
<center><b>Monthly Payments </b></center>
</div>
<div class="btn-group btn-group-justified no-margin">
@ -78,11 +78,11 @@ if(!empty($monthlyincreport))
<!--<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $mr->account_code;?>"><span><?php echo $mr->account_code?></span></a></td>-->
<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $mr->account_code;?>"><span><?php echo $mr->name?></span></a></td>
<td align="left"><span><?php echo $mr->type?></span></td>
<td align="right"><span><?php echo $mr->total?></span></td>
<td align="right"><span><?php echo number_format($mr->total,2,'.','');?></span></td>
<!--<td align="left"><span><?php echo $mr->account_code?></span></td>-->
<!--<td align="left"><span><?php echo $mr->description?></span></td>-->
</tr>
<?php

View File

@ -44,7 +44,7 @@ if(!empty($Indiancurrency))
<td align="left"><span><?php echo $t->name ?></span></td>
<td align="left"><span><?php echo $t->type?></span></td>
<td align="right"><span><?php echo $t->total?></span></td>
<td align="right"><span><?php echo number_format($t->total,2,'.','');?></span></td>

View File

@ -12,7 +12,7 @@ if(!empty($Indiancurrency))
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Caskbook - "Today's Payments"</h3></CENTER>
<CENTER><h3 class="box-title">Today's Payment</h3></CENTER>
</div>
<div class="container-fluid">
@ -43,7 +43,7 @@ if(!empty($Indiancurrency))
<td align="left"><span><?php echo $t->name ?></span></td>
<!--<td align="left"><span><?php echo $t->towhom?></span></td>-->
<td align="left"><span><?php echo $t->type?></span></td>
<td align="left"><span><?php echo $t->total?></span></td>
<td align="left"><span><?php echo number_format($t->total,2,'.','');?></span></td>
<td align="left"><span><?php echo $t->description?></span></td>

View File

@ -64,7 +64,7 @@ if(!empty($Indiancurrency))
<td align="left"><a href="<?= base_url() ?>report/yearmonthwise?sid=<?php echo $yr->month;?>"><span><?php echo $yr->month?></span></a></td>
<!--<td align="right"><span><?php echo $yr->towhom?></span></td>-->
<td align="left"><span><?php echo $yr->type?></span></td>
<td align="right"><span><?php echo $yr->total?></span></td>
<td align="right"><span><?php echo number_format($yr->total,2,'.','');?></span></td>
<!--<td align="right"><span><?php echo $yr->account_code?></span></td>
<td align="right"><span><?php echo $yr->description?></span></td>-->

View File

@ -36,7 +36,7 @@ if(!empty($Indiancurrency))
<div class="col-md-8 col-md-offset-2">
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><b>Yearly Payments</b></center>
<center><b>Monthly Payments</b></center>
</div>
<div class="btn-group btn-group-justified no-margin">
@ -69,8 +69,7 @@ if(!empty($Indiancurrency))
<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $ym->account_code;?>"><span><?php echo $ym->name?></span></a></td>
<!--<td align="right"><span><?php echo $ym->towhom?></span></td>-->
<td align="left"><span><?php echo $ym->type?></span></td>
<td align="right"><span><?php echo $ym->total?></span></td>
<td align="right"><span><?php echo number_format($ym->total,2,'.','');?></span></td>
<!--<td align="right"><span><?php echo $ym->description?></span></td>-->

View File

@ -155,8 +155,8 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<div class="info-box-content">
<span class="info-box-number"><a href="<?php echo base_url().'report/Viewtoday' ?>" data-toggle="tooltip" title="Click here to View Today's data"><?php echo "Today's Payments" ?></a></span>
<span class="info-box-text text-center"><?php echo "Receipt: ".$today_in.$inrsymbol ?> </span>
<span class="info-box-text text-center"><?php echo "Payments : ".$today_ex.$inrsymbol ?> </span>
<span class="info-box-text text-center"><strong>Receipt :</strong><?php echo $inrsymbol.number_format($today_in,2,'.',''); ?> </span>
<span class="info-box-text text-center"><strong>Payments :</strong><?php echo $inrsymbol.number_format($today_ex,2,'.',''); ?> </span>
</div>
</div>
@ -168,9 +168,9 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<div class="info-box">
<span class="info-box-icon bg-aqua" style="height: 90px;padding:25px;"><i<i class="fa fa-spinner"></span>
<div class="info-box-content">
<span class="info-box-number"><a href="<?php echo base_url().'report/cashbookmonthmenu' ?>" data-toggle="tooltip" title="Click here to View Today's data"><?php echo "Monthly Payments" ?></a></span>
<span class="info-box-text text-center"><?php echo "Receipt :".$month_in.$inrsymbol ?></span>
<span class="info-box-text text-center"><?php echo "Payments :".$month_ex.$inrsymbol ?></span>
<span class="info-box-number"><a href="<?php echo base_url().'report/monthexpenses' ?>" data-toggle="tooltip" title="Click here to View Today's data"><?php echo "Monthly Payments" ?></a></span>
<span class="info-box-text text-center"><strong>Receipt :</strong><?php echo $inrsymbol.number_format($month_in,2,'.',''); ?></span>
<span class="info-box-text text-center"><strong>Payments :</strong><?php echo $inrsymbol.number_format($month_ex,2,'.',''); ?></span>
</div>
</div>
</div>
@ -182,8 +182,8 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<span class="info-box-icon bg-green" style="height: 90px;padding:25;"><i class="fa fa-industry" style="padding: 5px;"></i></span>
<div class="info-box-content">
<span class="info-box-number"><?php echo "year Payments" ?></span>
<span class="info-box-text text-center"><?php echo "Receipt :".$year_in.$inrsymbol ?></span>
<span class="info-box-text text-center"><?php echo "Payments :".$year_ex.$inrsymbol ?></span>
<span class="info-box-text text-center"><strong>Receipt :</strong><?php echo $inrsymbol. number_format($year_in,2,'.',''); ?></span>
<span class="info-box-text text-center"><strong>Payments :</strong><?php echo $inrsymbol.number_format($year_ex,2,'.',''); ?></span>
</div>
</div>
</div>
@ -215,7 +215,7 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<CENTER><h3 class="box-title"><strong>Day Wise Payments</strong></h3></CENTER>
<div class="box-body">
<div>
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
@ -245,7 +245,7 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<td align="left"><span><?php echo $cash->name?></span></td>
<td align="left"><span><?php echo $cash->towhom?></span></td>
<td align="left"><span><?php echo $cash->type?></span></td>
<td align="right"><span><?php echo $cash->total?></span></td>
<td align="right"><span><?php echo number_format($cash->total,2,'.','');?></span></td>
<td align="left"><span><?php echo $cash->description?></span></td>