edit profti and loss

This commit is contained in:
Raju Shrestha
2024-08-26 12:29:38 +05:45
parent 161703be17
commit 759b97e1f0
9 changed files with 575 additions and 134 deletions

View File

@ -21,6 +21,7 @@ $BIBAccounts = new BIBAccounts();
.group-total {
width: 10%;
}
.table-gray {
@ -31,8 +32,10 @@ $BIBAccounts = new BIBAccounts();
.table th {
padding: 0px;
margin: 0px;
}
.table t
.bg-darker {
background-color: #ddd;
}
@ -71,6 +74,9 @@ $BIBAccounts = new BIBAccounts();
.underline {
text-decoration: underline;
}
.text-right{
padding-right: 5px;
}
.form-control {
display: block;
@ -88,6 +94,9 @@ $BIBAccounts = new BIBAccounts();
box-shadow: inset 0 0 0 transparent;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.bg-gray tr th {
vertical-align: middle;
}
</style>
<div class="content-wrapper">
<div class="content">
@ -202,16 +211,16 @@ $BIBAccounts = new BIBAccounts();
<table class="table table-bordered vertical-borders" id="TrialBalanceTable">
<thead class="bg-gray">
<tr>
<th rowspan="2">Particulars</th>
<th rowspan="2 class="">Particulars</th>
<?php if ($ReportOptions['showOB']) : ?>
<th colspan="2" class="text-center">Opening</th>
<?php endif; ?>
<?php if ($ReportOptions['showPeriod']) : ?>
<th colspan="2" class="text-center">Current Period</th>
<?php endif; ?>
<?php if ($ReportOptions['showClosing']) : ?>
<th colspan="2" class="text-center">Closing</th>
<?php endif; ?>
<th colspan=" 2" class="text-center">Opening</th>
<?php endif; ?>
<?php if ($ReportOptions['showPeriod']) : ?>
<th colspan="2" class="text-center">Current Period</th>
<?php endif; ?>
<?php if ($ReportOptions['showClosing']) : ?>
<th colspan="2" class="text-center">Closing</th>
<?php endif; ?>
</tr>
<tr>
@ -245,7 +254,7 @@ $BIBAccounts = new BIBAccounts();
<?php if ($ReportOptions['showOB']) : ?>
<td class="group-total"><?php // echo myCurrency(($group->posting_side == "DR") ? $group->opening_balance : 0);
?></td>
<td class="group-total"><?php // echo myCurrency(($group->posting_side == "CR") ? $group->opening_balance : 0);
<td class="group-total "><?php // echo myCurrency(($group->posting_side == "CR") ? $group->opening_balance : 0);
?></td>
<?php endif; ?>
<?php if ($ReportOptions['showPeriod']) : ?>