This commit is contained in:
denisdulici 2017-11-30 12:07:30 +03:00
parent 163ba37cbd
commit 0d5e051104
4 changed files with 2 additions and 6 deletions

View File

@ -27,8 +27,6 @@ return [
'download_pdf' => 'Download PDF', 'download_pdf' => 'Download PDF',
'send_mail' => 'Send Email', 'send_mail' => 'Send Email',
'create_vendor' => 'Vendor Create',
'status' => [ 'status' => [
'draft' => 'Draft', 'draft' => 'Draft',
'received' => 'Received', 'received' => 'Received',

View File

@ -27,8 +27,6 @@ return [
'download_pdf' => 'Download PDF', 'download_pdf' => 'Download PDF',
'send_mail' => 'Send Email', 'send_mail' => 'Send Email',
'create_customer' => 'Customer Create',
'status' => [ 'status' => [
'draft' => 'Draft', 'draft' => 'Draft',
'sent' => 'Sent', 'sent' => 'Sent',

View File

@ -14,7 +14,7 @@
<div class="input-group-addon"><i class="fa fa-user"></i></div> <div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('vendor_id', $vendors, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)])])) !!} {!! Form::select('vendor_id', $vendors, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)])])) !!}
<span class="input-group-btn"> <span class="input-group-btn">
<button type="button" onclick="createVendor();" class="btn btn-success">{{ trans('bills.create_vendor') }}</button> <button type="button" onclick="createVendor();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
</span> </span>
</div> </div>
{!! $errors->first('vendor_id', '<p class="help-block">:message</p>') !!} {!! $errors->first('vendor_id', '<p class="help-block">:message</p>') !!}

View File

@ -14,7 +14,7 @@
<div class="input-group-addon"><i class="fa fa-user"></i></div> <div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('customer_id', $customers, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.customers', 1)])])) !!} {!! Form::select('customer_id', $customers, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.customers', 1)])])) !!}
<span class="input-group-btn"> <span class="input-group-btn">
<button type="button" onclick="createCustomer();" class="btn btn-success">{{ trans('invoices.create_customer') }}</button> <button type="button" onclick="createCustomer();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
</span> </span>
</div> </div>
{!! $errors->first('customer_id', '<p class="help-block">:message</p>') !!} {!! $errors->first('customer_id', '<p class="help-block">:message</p>') !!}