mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
# Conflicts: # resources/views/settings/saml.blade.php # resources/views/settings/security.blade.php # resources/views/setup/user.blade.php
40 lines
1.8 KiB
PHP
Executable file
40 lines
1.8 KiB
PHP
Executable file
@extends('layouts/edit-form', [
|
|
'createText' => trans('admin/suppliers/table.create') ,
|
|
'updateText' => trans('admin/suppliers/table.update'),
|
|
'helpTitle' => trans('admin/suppliers/table.about_suppliers_title'),
|
|
'helpText' => trans('admin/suppliers/table.about_suppliers_text'),
|
|
'formAction' => (isset($item->id)) ? route('suppliers.update', ['supplier' => $item->id]) : route('suppliers.store'),
|
|
])
|
|
|
|
|
|
{{-- Page content --}}
|
|
@section('inputFields')
|
|
|
|
@include ('partials.forms.edit.name', ['translated_name' => trans('admin/suppliers/table.name')])
|
|
@include ('partials.forms.edit.address')
|
|
|
|
<div class="form-group {{ $errors->has('contact') ? ' has-error' : '' }}">
|
|
<label for="contact" class="col-md-3 control-label">{{ trans('admin/suppliers/table.contact') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" name="contact" type="text" id="contact" value="{{ old('contact', $item->contact) }}">
|
|
{!! $errors->first('contact', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
@include ('partials.forms.edit.phone')
|
|
@include ('partials.forms.edit.fax')
|
|
@include ('partials.forms.edit.email')
|
|
|
|
<div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}">
|
|
<label for="url" class="col-md-3 control-label">{{ trans('general.url') }}</label>
|
|
<div class="col-md-7">
|
|
<input class="form-control" name="url" type="text" id="url" value="{{ old('url', $item->url) }}">
|
|
{!! $errors->first('url', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
@include ('partials.forms.edit.notes')
|
|
@include ('partials.forms.edit.image-upload', ['image_path' => app('suppliers_upload_path')])
|
|
|
|
@stop
|