mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on taxes
This commit is contained in:
parent
93d9eb6636
commit
1c17bead45
@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
{!! Former::text('cost') !!}
|
{!! Former::text('cost') !!}
|
||||||
|
|
||||||
@include('partials.tax_rates')
|
@if ($account->invoice_item_taxes)
|
||||||
|
@include('partials.tax_rates')
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,29 +1,26 @@
|
|||||||
@if ($account->invoice_item_taxes)
|
{!! Former::select('tax_select1')
|
||||||
{!! Former::select('tax_select1')
|
->addOption('','')
|
||||||
->addOption('','')
|
->label(isset($taxRateLabel) ? $taxRateLabel : trans('texts.tax_rate'))
|
||||||
->label(isset($taxRateLabel) ? $taxRateLabel : trans('texts.tax_rate'))
|
->onchange('taxSelectChange(event)')
|
||||||
->onchange('taxSelectChange(event)')
|
->fromQuery($taxRates) !!}
|
||||||
->fromQuery($taxRates) !!}
|
|
||||||
|
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::input('tax_rate1') !!}
|
{!! Former::input('tax_rate1') !!}
|
||||||
{!! Former::input('tax_name1') !!}
|
{!! Former::input('tax_name1') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="display:{{ $account->enable_second_tax_rate ? 'block' : 'none' }}">
|
<div style="display:{{ $account->enable_second_tax_rate ? 'block' : 'none' }}">
|
||||||
{!! Former::select('tax_select2')
|
{!! Former::select('tax_select2')
|
||||||
->addOption('','')
|
->addOption('','')
|
||||||
->label(isset($taxRateLabel) ? $taxRateLabel : trans('texts.tax_rate'))
|
->label(isset($taxRateLabel) ? $taxRateLabel : trans('texts.tax_rate'))
|
||||||
->onchange('taxSelectChange(event)')
|
->onchange('taxSelectChange(event)')
|
||||||
->fromQuery($taxRates) !!}
|
->fromQuery($taxRates) !!}
|
||||||
|
|
||||||
<div style="display:none">
|
|
||||||
{!! Former::input('tax_rate2') !!}
|
|
||||||
{!! Former::input('tax_name2') !!}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
|
<div style="display:none">
|
||||||
|
{!! Former::input('tax_rate2') !!}
|
||||||
|
{!! Former::input('tax_name2') !!}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user