This commit is contained in:
Raju Shrestha 2024-08-09 15:07:46 +05:45
parent c08ed22b78
commit 2ebd3a2ea9
5 changed files with 15 additions and 11 deletions

View File

@ -5,7 +5,7 @@
<div class="col-3"> <div class="col-3">
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"><?php echo isset($AccountCategory) ? 'Edit' : 'Create'; ?> <h5 class="m-0 card-title"><?php echo isset($AccountCategory) ? 'Edit' : 'Create'; ?>
<?php echo $pageTitle; ?> <?php echo $pageTitle; ?>
<!-- <a href="<?php //echo site_url("master/accategories/list"); <!-- <a href="<?php //echo site_url("master/accategories/list");
?>" class="btn btn-sm btn-primary float-right">List <?php //echo $pageTitle; ?>" class="btn btn-sm btn-primary float-right">List <?php //echo $pageTitle;
@ -62,7 +62,7 @@
<div class="col-9"> <div class="col-9">
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"><?php echo $pageTitle . 's'; ?> <h5 class="m-0 card-title"><?php echo $pageTitle . 's'; ?>
<!-- <a href="<?php //echo site_url("master/accategories/add_child"); <!-- <a href="<?php //echo site_url("master/accategories/add_child");
?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle; ?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle;
?></a> --> ?></a> -->

View File

@ -7,7 +7,7 @@
<div class="col-3"> <div class="col-3">
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"><?php myLang('Create Account'); ?> <h5 class="m-0 card-title"><?php myLang('Create Account'); ?>
<?php //echo $pageTitle; <?php //echo $pageTitle;
?> ?>
@ -135,7 +135,7 @@
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"> <h5 class="m-0 card-title">
<?php echo myLang('List Accounts'); ?> <?php echo myLang('List Accounts'); ?>
<?php //myLang($pageTitle); <?php //myLang($pageTitle);
?> ?>
@ -164,8 +164,8 @@
<tr> <tr>
<th class="col-1.5" rowspan="2"><?php myLang("Ledger"); ?></th> <th class="col-1.5 vm" rowspan="2"><?php myLang("Ledger"); ?></th>
<th class="col-1.5" rowspan="2"><?php myLang(" Group"); ?></th> <th class="col-1.5 vm" rowspan="2"><?php myLang(" Group"); ?></th>
<th colspan="2" class="col-3 text-center">Opening Balance</th> <th colspan="2" class="col-3 text-center">Opening Balance</th>
<th class="col-1 text-center" rowspan="2"><?php myLang("Action"); ?></th> <th class="col-1 text-center" rowspan="2"><?php myLang("Action"); ?></th>
</tr> </tr>

View File

@ -25,7 +25,7 @@
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"><?php echo $pageTitle; ?> <h5 class="m-0 card-title"><?php echo $pageTitle; ?>
<!-- <a href="<?php //echo site_url("accounts/setup/addsingleentryvoucher"); ?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle; ?></a> --> <!-- <a href="<?php //echo site_url("accounts/setup/addsingleentryvoucher"); ?>" class="btn btn-sm btn-primary float-right">Create New <?php //echo $pageTitle; ?></a> -->
</h5> </h5>
@ -37,7 +37,7 @@
<table class="table table-bordered table-striped dataTable"> <table class="table table-bordered table-striped dataTable">
<thead> <thead>
<tr> <tr>
<th >Sn</th> <th class="text-center">Sn</th>
<th class="col-2">Voucher Name</th> <th class="col-2">Voucher Name</th>
<th class="col-4">Default Debits</th> <th class="col-4">Default Debits</th>
<th class="col-4">Default Credits</th> <th class="col-4">Default Credits</th>
@ -51,7 +51,7 @@
<?php foreach ($TableRow as $cols) : $id = $cols; <?php foreach ($TableRow as $cols) : $id = $cols;
break; break;
endforeach; ?><tr class="<?php echo ($TableRow->status == 0) ? "table-danger" : ""; ?>"> endforeach; ?><tr class="<?php echo ($TableRow->status == 0) ? "table-danger" : ""; ?>">
<td><?php echo $sn; ?></td> <td class="text-center"><?php echo $sn; ?></td>
<td><?php echo $TableRow->voucher_name; ?></td> <td><?php echo $TableRow->voucher_name; ?></td>
<td><?php echo showAccountCategoriesByIds(($TableRow->default_debits!="")?explode(",",$TableRow->default_debits):array()); ?></td> <td><?php echo showAccountCategoriesByIds(($TableRow->default_debits!="")?explode(",",$TableRow->default_debits):array()); ?></td>
<td><?php echo showAccountCategoriesByIds(($TableRow->default_credits!="")?explode(",",$TableRow->default_credits):array()); ?></td> <td><?php echo showAccountCategoriesByIds(($TableRow->default_credits!="")?explode(",",$TableRow->default_credits):array()); ?></td>

View File

@ -8,7 +8,7 @@
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<!-- <?php echo isset($item) ? 'Edit' : 'Create'; ?> --> <!-- <?php echo isset($item) ? 'Edit' : 'Create'; ?> -->
<h5 class="m-0">Create <?php echo $pageTitle; ?> <h5 class="m-0 card-title">Create <?php echo $pageTitle; ?>
<?php //showListButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/list","List ".$pageTitle); <?php //showListButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/list","List ".$pageTitle);
?> ?>
</h5> </h5>
@ -80,7 +80,7 @@
<div class="col-9"> <div class="col-9">
<div class="card card-primary card-outline"> <div class="card card-primary card-outline">
<div class="card-header"> <div class="card-header">
<h5 class="m-0"> <h5 class="m-0 card-title">
Current Fiscal Year : Current Fiscal Year :
<?php $currentFiscalYear = showFiscalYear(); ?> <?php $currentFiscalYear = showFiscalYear(); ?>

View File

@ -135,3 +135,7 @@ margin-bottom: .5rem;
.mt-26{ .mt-26{
margin-top: 26px; margin-top: 26px;
} }
table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled) {
vertical-align: middle;
}