@extends('layouts.super-designer') @php $page_title = 'Détails projet'; $state = 0; @endphp @section('meta-title', 'Espace super designer') @section('meta-keywords', '') @section('meta-description', '') @section('content') @if (!\Session::has('side-menu')) @php \Session::put('side-menu',1); @endphp @endif @if (\Session::has('sent_proposition')) @endif @if (\Session::has('saved_proposition')) @endif @if (\Session::has('sent_proposition')) @php $state = 1; \Session::forget('sent_proposition'); @endphp @elseif (\Session::has('saved_proposition')) @php $state = 2; \Session::forget('saved_proposition'); @endphp @elseif (\Session::has('sent_conception')) @php $state = 3; \Session::forget('sent_conception'); @endphp @elseif (\Session::has('update_conception')) @php $state = 4; \Session::forget('update_conception'); @endphp @endif
@php $achats = \App\Models\Achat::whereProjetId($projet->id) ->whereStatus('Payé') ->get(); $butReduction = false; foreach ($achats as $k => $achat) { foreach ($achat->lignes as $j => $ligne) { if ($ligne->code_carte) { $carte = \App\Models\Carte::whereCode($ligne->code_carte)->first(); if ($carte && $carte->special == true) { $butReduction = true; } } } } @endphp
{{ $projet->nom ?? ($projet->espace ?? '') }} : {{ $projet->forfait_conception ?? $projet->forfait }} @if ($butReduction == true) : BUT @endif
Gamme de prix : {{ $projet->gammes ?? 'NC' }}
user()->type }}>
@include('super-designer.partials.projets_details_quiz') @include('super-designer.partials.projets_details_brief') @include('super-designer.partials.projets_details_esquisse') @include('super-designer.partials.projets_details_conception') @include('super-designer.partials.projets_details_shopping')
@endsection @section('style') @endsection @section('script') @endsection