@extends('layouts.main') @section('page-title') {{__('Manage Leads')}} @if($pipeline) - {{$pipeline->name}} @endif @endsection @push('scripts') @endpush @section('page-breadcrumb') {{__('Leads')}} @endsection @section('page-action') @if($pipeline)
| {{__('Name')}} | {{__('Subject')}} | {{__('Stage')}} | {{__('Users')}} | {{__('Action')}} | |
|---|---|---|---|---|---|
| {{ $lead->name }} | {{ $lead->subject }} | {{!empty($lead->stage->name)?$lead->stage->name:'' }} |
@foreach($lead->users as $user)
|
@if(!Auth::user()->hasRole('client'))
@can('lead show')
@if($lead->is_active)
@endif
@endcan
@can('lead edit')
@endcan
@can('lead delete')
{!! Form::open(['method' => 'DELETE', 'route' => ['leads.destroy', $lead->id],'id'=>'delete-form-'.$lead->id]) !!}
{!! Form::close() !!}
@endif
|
@endif
|
| {{ __('No data available in table') }} | |||||