@extends('back.layout.app') @section('title', config('app.name') . ' - Opérations en cours') @php $breadcrumb = 'operations.index'; $statusColors = [ 'waiting_deal' => 'kt-badge-destructive', 'waiting_signature' => 'kt-badge-primary', 'signature_reminder' => 'kt-badge-warning', 'waiting_element' => 'kt-badge-warning', 'requested_elements' => 'kt-badge-success', 'waiting_draft' => 'kt-badge-warning', 'waiting_draft_walidation' => 'kt-badge-warning', 'draft_reminder' => 'kt-badge-warning', ]; $activeStatuses = \App\Http\Controllers\Back\Modules\Sales\Operations\OperationController::ACTIVE_STATUSES; @endphp @section('content')

Opérations en cours

{{ $operations->count() }}
@can('export-operations') Exporter @endcan @can('create-operations') Créer une opération @endcan
{{-- Barre de filtres --}}
@if (request()->hasAny(['user_id', 'status'])) Réinitialiser @endif
{{-- Datatable --}}
@foreach ($operations as $operation) @endforeach
N°BDC Date sortie Type Opération Commercial Statut
@if ($operation->num_bdc) {{ $operation->num_bdc }} @endif {{ $operation->publish_date }} @if ($operation->type) {{ $operation->type->name }} @else @endif {{ $operation->name }} {{ $operation->user?->firstname ?? '—' }} {{ \App\Models\Operation::STATUSES[$operation->status] ?? $operation->status }} @can('edit-operations')
Dupliquer
@endcan @can('view-operations')
Consulter
@endcan
{{ __('ui.datatable.show') }}{{ __('ui.datatable.per_page') }}
@endsection