@extends('auth.main', ['title' => __('menu.quote-edit') ]) @push('add_styles') @endpush @section('content')
@include('auth.components.breadcrumbs', [ 'breadcrumbs' => [ ['name' => __('page.dashboard'),'url' => 'dashboard'], ['name' => __('menu.quotes-list'),'url' => 'quotes.home'], ['name' => __('menu.quote-edit'),'url' => ''] ] ]) @include('auth.components.topbuttons')
{{ csrf_field() }}
Dévis n° {{ $item->numero }} {{ $item->statut->libelle }}
Ajouter une catégorie
@php $n = 0; @endphp @foreach ($item->group_lignes as $group) @php $n ++; @endphp
@php $n_ligne = 0; @endphp @foreach ($group->lignes as $ligne) @php $n_ligne++; @endphp
@php $montant_honoraire_agence = ''; if(!empty($ligne->honoraire_agence)) $montant_honoraire_agence = ($ligne->honoraire_agence/100) * $ligne->prix_total; @endphp
@if ($n_ligne == 1) @else @endif
@endforeach
@if ($n != 1)
Supprimer la ligne
@endif
@endforeach

Les montants
@stop @push('add_scripts') @endpush