@if ($this->view == 'show') @section('heading') @if($this->Object->status == 5) check {{__('Planifié')}} @endif @if($this->Object->status == 20) cancel {{__('Soldé')}} @endif @can('order_fabrication_edit') @if ($this->Object->status != 50) edit {{__('Edit')}} @endif @endcan @if(!auth()->user()->isSuperAdmin() && $this->Object->status != 50) @can('marque_delete')
@method("DELETE") @csrf delete {{__('Annuler')}} @endcan @endif @if ($this->Object->status != 50) add {{__('Suivi Fabrication')}} @endif @endsection @endif @include('components.page_header') @livewire('import-component', [ 'DemoFile' => 'download/Ordre Fabrication.xlsx', 'ImportModels' => App\Imports\ImportOrdreFabrication::class, 'rules' => [ 'orderList.num_of_sage' => 'required', 'orderList.article_id' => 'required', 'orderList.qte' => 'required', ] ]) @include('components.modalDelete')
@include('components.message') @if ($view == 'index')
{{__("Export excel")}} @can($this->ObjectFilter->getTable().'_export') @endcan {{__("Import excel")}}
@include('components.filter') @include('components.index') @elseif ($view == 'create' or $view == 'edit') @include('livewire.ordre_fabrication.edit') @elseif ($view == 'show') @include('livewire.ordre_fabrication.show') @endif
@include('components.script')