@extends('admin.layout.master') @section('title') Dashboard @endsection @section('content')

Welcome to {{ $website->name }}


Quotes
@forelse($quotes as $u=>$quote) @empty @endif
Id Name Email Phone Company Type Detail Created At Delete
{{ $u+1 }} {{ ($quote->name) ? $quote->name : '' }} {{ ($quote->email) ? $quote->email : '' }} {{ ($quote->phone) ? $quote->phone : '' }} {{ ($quote->company) ? $quote->company : '' }} @if(isset($quote->type) && !empty($quote->type)) @forelse(json_decode($quote->type) as $t=>$td) @if($t==0) {{ $td }} @else {{ $td."," }} @endif @empty @endforelse @else -- @endif {{ Carbon\Carbon::parse($quote->created_at)->format('d-m-Y') }} Delete
@endsection @section('script') @endsection