@extends('layouts.default') @section('title', trans('general.title.edit', ['type' => trans_choice('general.customers', 1)])) @section('new_button') view_list{{ trans_choice('general.customers', 1) . ' List'}} remove_red_eyeshow add{{ trans_choice('general.customers', 1)}} @endsection @section('content')
{!! Form::model($customer, [ 'method' => 'PATCH', 'url' => ['incomes/customers', $customer->id], 'role' => 'form' ]) !!}
{{ Form::selectGroup('customer_type','Customer Type', ['customer'=>'Customer','job'=>'Job','w2c'=>'W2C'], null, []) }}
{{ Form::textGroup('name', trans('general.company_name'), null, ['id'=>'name','required'=>'required']) }}
{{-- Sub Customer Code --}}
Customer
Customer
{{-- Sub Customer Code --}}
{{ Form::textGroup('customer_email', trans('general.email'), null, [] ) }}
{{ Form::textGroup('cc_email', trans('general.ccemail'), null, []) }}
{{ Form::textGroup('phone', trans('general.phone'), null, []) }}
{{ Form::textGroup('website', trans('general.website'), null, []) }}
{{ Form::textGroup('company', trans('general.coustomer_name'), 'company', []) }}
{{ Form::selectGroup('payment_method', trans_choice('general.payment_methods', 1), $payment_methods, null, []) }}
{{ Form::hidden('currency_code', setting('general.default_currency'), ['id' => 'currency_code']) }} {{-- {{ Form::textGroup('mobile', trans('general.mobile'), 'phone', [],null,'col-md-3' ) }} --}}
{{ trans_choice('general.net_term', 1) }} {!! Form::select('net_term', $terms, null, array_merge(['class' => 'selectpicker','data-live-search'=>'true','placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.net_term', 1)])])) !!}
{!! $errors->first('net_term', '

:message

') !!} {{ Form::textareaGroup('address', trans('general.billingaddress') , null, ['rows' => '3']) }}
{{ Form::textarea('shipping_address', null,['class'=>'form-ControlTextArea', 'id'=> 'shipping_address' ,'rows' => 3]) }}
{{ Form::radioGroup('enabled', trans('general.enabled')) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush