@extends('layouts.master') @section('content')
@include('partials.clientheader') @include('partials.userheader')
Offers
@if(Entrust::can('offer-create'))
@endif
@foreach($offers as $index => $offer) @endforeach
{{ __('Indicator') }} {{ __('Price') }} {{ __('Status') }} {{ __('Created at') }} {{ __('Action') }}
{{$index +1}} {{formatMoney($offer->getTotalPrice())}} {{$offer->getInvoice()->status}} {{$offer->getInvoice()->created_at->format(carbonDateWithText()) }} @if(!in_array($offer->getInvoice()->status, ['won', 'lost'])) @if(Entrust::can('offer-edit')) @endif @endif @if($offer->getInvoice()->invoice) @endif
@if(Entrust::can('offer-create')) @endif
@include('partials.comments', ['subject' => $lead])
@include('leads._sidebar')
@include('leads._timeline')
@if(Entrust::can('offer-edit')) @endif @stop @push('scripts') @endpush