mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-03 06:44:27 -04:00
- Made view CI form helper function call format uniform.
- replaced calls to array() with []
- Placed { on its own line
- Removed empty lines where there shouldn't be any.
- Replaced text/javascript with application/javascript as the former is deprecated
43 lines
1.5 KiB
PHP
43 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* @var string $controller_name
|
|
*/
|
|
?>
|
|
<?= view('partial/header') ?>
|
|
|
|
<script type="application/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') ?>
|