mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 23:52:33 +01:00
43 lines
1.6 KiB
PHP
43 lines
1.6 KiB
PHP
@extends('accounts.nav')
|
|
|
|
@section('content')
|
|
@parent
|
|
@include('accounts.nav_advanced')
|
|
|
|
{{ Former::open()->addClass('col-md-8 col-md-offset-2 warn-on-exit') }}
|
|
{{ Former::populate($account) }}
|
|
{{ Former::populateField('custom_invoice_taxes1', intval($account->custom_invoice_taxes1)) }}
|
|
{{ Former::populateField('custom_invoice_taxes2', intval($account->custom_invoice_taxes2)) }}
|
|
|
|
{{ Former::legend('invoice_fields') }}
|
|
{{ Former::text('custom_invoice_label1')->label(trans('texts.field_label'))
|
|
->append(Former::checkbox('custom_invoice_taxes1')->raw() . ' ' . trans('texts.charge_taxes')) }}
|
|
{{ Former::text('custom_invoice_label2')->label(trans('texts.field_label'))
|
|
->append(Former::checkbox('custom_invoice_taxes2')->raw() . ' ' . trans('texts.charge_taxes')) }}
|
|
<p> </p>
|
|
|
|
{{ Former::legend('client_fields') }}
|
|
{{ Former::text('custom_client_label1')->label(trans('texts.field_label')) }}
|
|
{{ Former::text('custom_client_label2')->label(trans('texts.field_label')) }}
|
|
<p> </p>
|
|
|
|
{{ Former::legend('company_fields') }}
|
|
{{ Former::text('custom_label1')->label(trans('texts.field_label')) }}
|
|
{{ Former::text('custom_value1')->label(trans('texts.field_value')) }}
|
|
<p> </p>
|
|
{{ Former::text('custom_label2')->label(trans('texts.field_label')) }}
|
|
{{ Former::text('custom_value2')->label(trans('texts.field_value')) }}
|
|
|
|
@if (Auth::user()->isPro())
|
|
{{ Former::actions( Button::lg_success_submit(trans('texts.save'))->append_with_icon('floppy-disk') ) }}
|
|
@else
|
|
<script>
|
|
$(function() {
|
|
$('form.warn-on-exit input').prop('disabled', true);
|
|
});
|
|
</script>
|
|
@endif
|
|
|
|
{{ Former::close() }}
|
|
|
|
@stop |