@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.bills-list'),'url' => 'bills.home'], ['name' => __('menu.bill-edit'),'url' => ''] ], 'title' => __('menu.bill-edit') ]) @include('auth.components.topbuttons')
{{ csrf_field() }}
Facture n° {{ $item->numero }} {{ $item->statut->libelle }}
@php $n = 0; @endphp @foreach ($item->quote->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
@endforeach
@endforeach

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