changes
This commit is contained in:
parent
2ebd3a2ea9
commit
c64472a21e
@ -70,6 +70,7 @@ class myaccounts
|
||||
$crTotal = 0;
|
||||
$drTotal = 0;
|
||||
$fields = array();
|
||||
// print_r($VoucherDetails);die;
|
||||
foreach ($VoucherDetails as $VoucherDetail) :
|
||||
$i++;
|
||||
$fields['account_name_' . $i] = $VoucherDetail->account_name;
|
||||
@ -90,6 +91,9 @@ class myaccounts
|
||||
$fields['amount_in_words'] = trim($CI->numbertoword->nepali_word($crTotal));
|
||||
else
|
||||
$fields['amount_in_words'] = trim($CI->numbertoword->english_word($crTotal));
|
||||
|
||||
// $fields['narration_' . $i] = $VoucherDetail->narration;
|
||||
|
||||
$file = APPPATH . "/../pdf/e_voucher1.pdf";
|
||||
$pdf = new FPDM($file);
|
||||
//pre($pdf->getContent($file,"PDF"));
|
||||
@ -999,7 +1003,10 @@ class myaccounts
|
||||
<a onClick="javascript:showDetails(<?php echo $TableRow->voucher_id; ?>);" class="btn btn-success btn-xs" title="View Details"><i class="fa fa-eye"></i></a>
|
||||
<a onClick="javascript:showDetails(<?php echo $TableRow->voucher_id; ?>);" class="btn btn-info btn-xs" title="View Details"><i class="fas fa-edit"></i></a>
|
||||
<a onClick="javascript:showPDF(<?php echo $TableRow->voucher_id; ?>);" class="btn btn-primary btn-xs" title="View PDF"><i class="fa fa-file-pdf"></i></a>
|
||||
<?php //print_r($ci->session->userdata());die; ?>
|
||||
<?php if ($ci->session->userdata('LoggedUser') != 'admin'): ?>
|
||||
<a onClick="javascript:deleteVoucher(<?php echo $TableRow->voucher_id; ?>);" class="btn btn-danger btn-xs" title="Delete Voucher"><i class="fa fa-trash"></i></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
@ -1204,7 +1211,7 @@ class myaccounts
|
||||
<td><?php echo myCurrency($drTotal); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="<?php echo $TotalCols; ?>" class="text-left" height=100>Narration: <?php echo $TableRow->narration; ?></td>
|
||||
<td colspan="<?php echo $TotalCols; ?>" class="text-left" height=100><i>Narration: <?php echo $TableRow->narration; ?></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="<?php echo $TotalCols; ?>" class="text-center" height=200>
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
account/pdf/ledgers/ledger_31.wpdf
Normal file
BIN
account/pdf/ledgers/ledger_31.wpdf
Normal file
Binary file not shown.
BIN
account/pdf/ledgers/ledger_33.wpdf
Normal file
BIN
account/pdf/ledgers/ledger_33.wpdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
account/pdf/vouchers/Voucher_4.pdf
Normal file
BIN
account/pdf/vouchers/Voucher_4.pdf
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user