Standardize UI's

This commit is contained in:
Hillel Coren 2017-12-08 13:57:46 +02:00
parent 781073c7a1
commit b8744db366
3 changed files with 22 additions and 26 deletions

View File

@ -18,30 +18,32 @@
{!! Former::text('action') !!}
</span>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! $title !!}</h3>
</div>
<div class="panel-body form-padding-right">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
{!! Former::text('product_key')->label('texts.product') !!}
{!! Former::textarea('notes')->rows(6) !!}
<div class="panel panel-default">
<div class="panel-body form-padding-right">
@if ($account->hasFeature(FEATURE_INVOICE_SETTINGS))
@if ($account->custom_invoice_item_label1)
{!! Former::text('custom_value1')->label(e($account->custom_invoice_item_label1)) !!}
@endif
@if ($account->custom_invoice_item_label2)
{!! Former::text('custom_value2')->label(e($account->custom_invoice_item_label2)) !!}
@endif
@endif
{!! Former::text('product_key')->label('texts.product') !!}
{!! Former::textarea('notes')->rows(6) !!}
{!! Former::text('cost') !!}
@if ($account->hasFeature(FEATURE_INVOICE_SETTINGS))
@if ($account->custom_invoice_item_label1)
{!! Former::text('custom_value1')->label(e($account->custom_invoice_item_label1)) !!}
@endif
@if ($account->custom_invoice_item_label2)
{!! Former::text('custom_value2')->label(e($account->custom_invoice_item_label2)) !!}
@endif
@endif
@if ($account->invoice_item_taxes)
@include('partials.tax_rates')
@endif
{!! Former::text('cost') !!}
@if ($account->invoice_item_taxes)
@include('partials.tax_rates')
@endif
</div>
</div>
</div>
</div>

View File

@ -21,9 +21,6 @@
<div class="col-lg-10 col-lg-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.category') !!}</h3>
</div>
<div class="panel-body">
{!! Former::text('name') !!}

View File

@ -24,9 +24,6 @@
<div class="col-lg-10 col-lg-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.project') !!}</h3>
</div>
<div class="panel-body">
@if ($project)