mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-20 23:37:58 -05:00
* Improve code style and PSR-12 compliance - refactored code formatting to adhere to PSR-12 guidelines - standardized coding conventions across the codebase - added missing framework files and reverted markup changes - reformatted arrays for enhanced readability - updated language files for consistent styling and clarity - minor miscellaneous improvements
52 lines
1.7 KiB
PHP
52 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* @var string $controller_name
|
|
*/
|
|
?>
|
|
|
|
<?= view('partial/header') ?>
|
|
|
|
<script type="text/javascript">
|
|
dialog_support.init("a.modal-dlg");
|
|
</script>
|
|
|
|
<ul class="nav nav-tabs" data-tabs="tabs">
|
|
<li class="active" role="presentation">
|
|
<a data-toggle="tab" href="#tax_codes_tab" title="<?= lang(ucfirst($controller_name) . '.tax_codes_configuration') ?>">
|
|
<?= lang(ucfirst($controller_name) . '.tax_codes') ?>
|
|
</a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a data-toggle="tab" href="#tax_jurisdictions_tab" title="<?= lang(ucfirst($controller_name) . '.tax_jurisdictions_configuration') ?>">
|
|
<?= lang(ucfirst($controller_name) . '.tax_jurisdictions') ?>
|
|
</a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a data-toggle="tab" href="#tax_categories_tab" title="<?= lang(ucfirst($controller_name) . '.tax_categories_configuration') ?>">
|
|
<?= lang(ucfirst($controller_name) . '.tax_categories') ?>
|
|
</a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a data-toggle="tab" href="#tax_rates_tab" title="<?= lang(ucfirst($controller_name) . '.tax_rate_configuration') ?>">
|
|
<?= lang(ucfirst($controller_name) . '.tax_rates') ?>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade in active" id="tax_codes_tab">
|
|
<?= view('taxes/tax_codes') ?>
|
|
</div>
|
|
<div class="tab-pane" id="tax_jurisdictions_tab">
|
|
<?= view('taxes/tax_jurisdictions') ?>
|
|
</div>
|
|
<div class="tab-pane" id="tax_categories_tab">
|
|
<?= view('taxes/tax_categories') ?>
|
|
</div>
|
|
<div class="tab-pane" id="tax_rates_tab">
|
|
<?= view('taxes/tax_rates') ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?= view('partial/footer') ?>
|