BBnepal-Accounts/account/application/views/setup/defaults.php

79 lines
3.0 KiB
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php $pageTitle = "BBNepal Accounting Defaults"; ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- Main content -->
<section class="content">
<!-- Default box -->
<form method="POST" action="">
<div class="card">
<div class="card-header">
<h3 class="card-title">Setting up defaults for BBNepal Accounting</h3>
<div class="card-tools">
<button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
<i class="fas fa-minus"></i>
</button>
<!-- <button type="button" class="btn btn-tool" data-card-widget="remove" title="Remove">
<i class="fas fa-times"></i>
</button> -->
</div>
</div>
<div class="card-body">
<div class="row">
<div class="col">
<table class="table table-head-fixed text-nowrap">
<thead>
<tr>
<th>BB Nepal Sections</th>
<th>Account Default Groups/Category</th>
</tr>
</thead>
<tbody>
<tr>
<td>Students Section</td>
<td><?php showAccountCategoriesSelector("students_section", "students_category", "status=1", $Default["students_section"] ?? null, "REQUIRED"); ?></td>
</tr>
<tr>
<td>Teachers Section</td>
<td><?php showAccountCategoriesSelector("teachers_section", "teachers_section", "status=1", "", "REQUIRED"); ?></td>
</tr>
<tr>
<td>Expenses Section</td>
<td><?php showAccountCategoriesSelector("expenses_section", "expenses_section", "status=1", "", "REQUIRED"); ?></td>
</tr>
<tr>
<td>Fee Types Section</td>
<td><?php showAccountCategoriesSelector("fee_types_section", "fee_types_section", "status=1", "", "REQUIRED"); ?></td>
</tr>
<tr>
<td>Inventory Purchase</td>
<td><?php showAccountCategoriesSelector("inventory_purchase_section", "inventory_purchase_section", "status=1", "", "REQUIRED"); ?></td>
</tr>
<tr>
<td>Inventory Sales</td>
<td><?php showAccountCategoriesSelector("inventory_sales_section", "inventory_sales_section", "status=1", "", "REQUIRED"); ?></td>
</tr>
</tbody>
</table>
<!-- /.row -->
</div>
</div>
</div>
<div class="card-footer">
<button type="submit" class="form-control btn btn-primary">Save Setting</button>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</form>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->