@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.fiche'], 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'main_form', 'files' => false]) !!} {!! Form::hidden('id', $depot->id, ['id' => 'depot_id']) !!}
{{ __('app.user_login') }} | {{ __('app.user_lang') }} | {{ __('app.user_active') }} | {{ __('app.user_fiche') }} | {{ __('app.delete_relation') }} |
---|---|---|---|---|
{{ __('app.user_login') }} | {{ __('app.user_lang') }} | {{ __('app.user_active') }} | {{ __('app.user_fiche') }} | {{ __('app.delete_relation') }} |
{{ $u->login }} | {{ $u->lang }} | @if($u->active == 1) {{ __('app.active') }} @else {{ __('app.inactive') }} @endif | {{ __('app.fiche') }} | {{ __('app.detach_relation') }} |
{{ __('app.article_reference') }} | {{ __('app.article_designation') }} | {{ __('app.article_min') }} | {{ __('app.article_max') }} | {{ __('app.delete_relation') }} |
---|---|---|---|---|
{{ __('app.article_reference') }} | {{ __('app.article_designation') }} | {{ __('app.article_min') }} | {{ __('app.delete_relation') }} | {{ __('app.delete_relation') }} |
{{ $a->reference }} | {{ $a->designation }} | {!! Form::number('min',@$minmax_array[$a->id]['min'], ['data-product' => $a->id, 'data-type' => 'min','class' => 'form-control changeminmax', 'min' => '0', 'id' => 'min_'.$a->id]) !!} | {!! Form::number('max',@$minmax_array[$a->id]['max'], ['data-product' => $a->id, 'data-type' => 'max','class' => 'form-control changeminmax', 'min' => '0', 'id' => 'max_'.$a->id]) !!} | @if(isset($array_products_in_stock[$a->id])) {{ __('app.in_stock') }} @else {{ __('app.detach_relation') }} @endif | @endforeach