daterangefix and vouchertextremove
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
<?php if (isset($account_id) && $account_id != "") {
|
||||
$fromDate = NepaliToEnglishDate(isset($_GET['from_date']) ? $_GET['from_date'] : firstDayOfNepaliMonth());
|
||||
$toDate = isset($_GET['to_date']) ? $_GET['to_date'] : Today();
|
||||
$this->myaccounts->showLedger($account_id, $fromDate, $toDate);
|
||||
$this->myaccounts->showLedger($account_id, $fromDate, $toDate, $fiscalStart, $fiscalEnd);
|
||||
} ?>
|
||||
<div class="modal fade" id="ledgerdetails_box" tabindex="-1" role="dialog" aria-labelledby="ledgerdetails_box" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl" role="document">
|
||||
|
@ -99,7 +99,7 @@ button:hover {
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<h1 class="text-center"><?php echo $pageTitle; ?> Voucher</h1>
|
||||
<h1 class="text-center"><?php echo $pageTitle; ?></h1>
|
||||
<!-- <fieldset>
|
||||
<legend><span id="selectedAccountName"></span> Balance</legend><span id="selectedAccountBalance" style="padding: 6px 0px; display: inline-block; text-align: right; width: 100%;">Choose A/C First</span>
|
||||
</fieldset> -->
|
||||
|
@ -34,7 +34,7 @@
|
||||
// echo $toDate;
|
||||
$account_id = isset($_GET['account_id']) ? $_GET['account_id'] : '';
|
||||
$vouchertype_id = isset($_GET['vouchertypes']) ? $_GET['vouchertypes'] : '';
|
||||
$this->myaccounts->listVouchers($fromDate, $toDate, $account_id, $vouchertype_id, true);
|
||||
$this->myaccounts->listVouchers($fromDate, $toDate, $account_id, $vouchertype_id, true, false, $fiscalStart, $fiscalEnd);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
@ -42,4 +42,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user