?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Accounting/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Accounting/single_payment.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); ?> <table class="tab" width="100%"> <caption>Transaction of <?=$refs->transaction?></caption> <tr> <td width="30%"> <?php echo "Transaction No: ".$refs->ref_code; ?></td> <td width="30%"><?php echo "Date: ".$this->mastermodel->convertdatenormalformat($refs->transaction_date); ?></td> </tr> </table> <br/><br/> <table class="sort"> <tr> <th width="10%">Sl No.</th> <th width="15%">Account code</th> <th width="20%">Account Name</th> <th width="10%">Debit</th> <th width="10%">Credit</th> <th width="35%">Memo</th> </tr> <?php $slno=1; foreach($gl_details as $list) { if($slno%2==0) $alt="alt"; else $alt="alt1"; ?> <tr class="<?=$alt;?>"> <td><?=$slno++;?></td> <td><?=$list['account_code'];?></td> <td><?=$list['chart_account_name'];?></td> <td><?=($list['amount']>0) ? number_format(abs($list['amount']),2) : "";?></td> <td><?=($list['amount']<0) ? number_format(abs($list['amount']),2) : "";?></td> <td><?=$list['memo'];?></td> </tr> <?php } ?> </table> <?php echo form_close();?> </fieldset>