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