@extends('app.layouts.main') @section('header') @stop @section('content') @include('app.partials.breadcrumb') @include('app.partials.titre') @include('app.partials.messages') {!! Form::open(['route' => ['post.admin.depot.create'], 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'main_form', 'files' => false]) !!}
{!! Element::mainbloc('open', __('app.depot_informations'), 'fas fa-table') !!} {!! Twb::admin_text('customer',__('app.depot_customer'),'',[], $errors->first('customer')) !!} {!! Twb::admin_text('customername',__('app.depot_customername'),'',[], $errors->first('customername')) !!} {!! Twb::admin_select('type', __('app.depot_type'),'',[], $errors->first('type'), '','', Helper::arrayStockType()) !!} {!! Element::mainbloc('close') !!}
{!! Element::mainbloc('open', __('app.depot_attrs'), 'fas fa-table') !!} {!! Twb::admin_text('depot_code_divalto',__('app.depot_code_divalto'),'',[], $errors->first('depot_code_divalto')) !!} {!! Twb::admin_text('days_consignations',__('app.days_consignations'),'',[], $errors->first('days_consignations')) !!} {!! Twb::admin_text('delivery_delay',__('app.delivery_delay'),'',[], $errors->first('delivery_delay')) !!} {!! Twb::admin_select('is_rollpack', __('app.depot_is_rollpack'),0,[], $errors->first('is_rollpack'), '','', ['1' => __('app.yes'),'0' => __('app.no')]) !!} {!! Twb::admin_select('active', __('app.depot_active'),'',[], $errors->first('active'), '','', ['1' => __('app.active'),'2' => __('app.inactive')]) !!} {!! Form::button(__('app.create'), ['type' => 'submit','','class' => 'btn btn-block btn-lg btn-success','id' => 'createButton' ]) !!} {!! Element::mainbloc('close') !!}
{!! Form::close() !!} @stop @section('footer') @stop