2018-11-21 09:28:07 +01:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header bg-primary2">@lang('texts.edit_client')</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.client_name')</label>
|
|
|
|
<div class="col-sm-9">
|
2018-11-22 12:12:41 +01:00
|
|
|
<input name="name" placeholder="@lang('texts.name')" class="form-control" v-model="client.name" value="{{ $client->present()->name }}">
|
|
|
|
<div v-if="errors && errors.name" class="text-danger">@{{ errors.name[0] }}</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
2018-11-21 09:28:07 +01:00
|
|
|
</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
|
2018-11-21 09:28:07 +01:00
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.id_number')</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input name="id_number" placeholder="@lang('texts.id_number')" class="form-control" v-model="client.id_number">
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
2018-11-21 09:28:07 +01:00
|
|
|
</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
|
2018-11-21 09:28:07 +01:00
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.vat_number')</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input name="vat_number" placeholder="@lang('texts.vat_number')" class="form-control" v-model="client.vat_number">
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
2018-11-21 09:28:07 +01:00
|
|
|
</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
|
2018-11-21 09:28:07 +01:00
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.website')</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input name="website" placeholder="@lang('texts.website')" class="form-control" v-model="client.website">
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
2018-11-21 09:28:07 +01:00
|
|
|
</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
|
2018-11-21 09:28:07 +01:00
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.custom_value1')</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input name="custom_value1" placeholder="@lang('texts.custom_value1')" class="form-control" v-model="client.custom_value1">
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
2018-11-21 09:28:07 +01:00
|
|
|
</div>
|
2018-11-07 06:22:36 +01:00
|
|
|
|
2018-11-21 09:28:07 +01:00
|
|
|
<div class="form-group row">
|
|
|
|
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.custom_value2')</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input name="custom_value2" placeholder="@lang('texts.custom_value2')" class="form-control" v-model="client.custom_value2">
|
2018-11-07 06:22:36 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|