diff --git a/account/application/libraries/Myaccounts.php b/account/application/libraries/Myaccounts.php
index 7dca589..52535e5 100644
--- a/account/application/libraries/Myaccounts.php
+++ b/account/application/libraries/Myaccounts.php
@@ -69,7 +69,8 @@ class myaccounts
$i = 0;
$crTotal = 0;
$drTotal = 0;
- $fields = array();
+ $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
-
+ session->userdata());die; ?>
+ session->userdata('LoggedUser') != 'admin'): ?>
+
+
@@ -1204,7 +1211,7 @@ class myaccounts
|
- Narration: narration; ?> |
+ Narration: narration; ?> |
diff --git a/account/pdf/ledgers/ledger_1.wpdf b/account/pdf/ledgers/ledger_1.wpdf
index 12f26a6..65ae26b 100644
Binary files a/account/pdf/ledgers/ledger_1.wpdf and b/account/pdf/ledgers/ledger_1.wpdf differ
diff --git a/account/pdf/ledgers/ledger_21.wpdf b/account/pdf/ledgers/ledger_21.wpdf
index 5a607b4..d95d7ef 100644
Binary files a/account/pdf/ledgers/ledger_21.wpdf and b/account/pdf/ledgers/ledger_21.wpdf differ
diff --git a/account/pdf/ledgers/ledger_29.wpdf b/account/pdf/ledgers/ledger_29.wpdf
index edfb13e..69fdce4 100644
Binary files a/account/pdf/ledgers/ledger_29.wpdf and b/account/pdf/ledgers/ledger_29.wpdf differ
diff --git a/account/pdf/ledgers/ledger_31.wpdf b/account/pdf/ledgers/ledger_31.wpdf
new file mode 100644
index 0000000..c2b2780
Binary files /dev/null and b/account/pdf/ledgers/ledger_31.wpdf differ
diff --git a/account/pdf/ledgers/ledger_33.wpdf b/account/pdf/ledgers/ledger_33.wpdf
new file mode 100644
index 0000000..8a7f161
Binary files /dev/null and b/account/pdf/ledgers/ledger_33.wpdf differ
diff --git a/account/pdf/ledgers/ledger_4.wpdf b/account/pdf/ledgers/ledger_4.wpdf
index 0dc4479..68cb6e0 100644
Binary files a/account/pdf/ledgers/ledger_4.wpdf and b/account/pdf/ledgers/ledger_4.wpdf differ
diff --git a/account/pdf/vouchers/Voucher_2.pdf b/account/pdf/vouchers/Voucher_2.pdf
index 8c4e7cb..0472f3b 100644
Binary files a/account/pdf/vouchers/Voucher_2.pdf and b/account/pdf/vouchers/Voucher_2.pdf differ
diff --git a/account/pdf/vouchers/Voucher_4.pdf b/account/pdf/vouchers/Voucher_4.pdf
new file mode 100644
index 0000000..82c39fe
Binary files /dev/null and b/account/pdf/vouchers/Voucher_4.pdf differ
diff --git a/account/pdf/vouchers/Voucher_5.pdf b/account/pdf/vouchers/Voucher_5.pdf
index 7922ddb..6bd3614 100644
Binary files a/account/pdf/vouchers/Voucher_5.pdf and b/account/pdf/vouchers/Voucher_5.pdf differ
|