@extends('layouts.app')
@section('urlContent')
{!! view('components.breadcrumbs', [
'b_items' => [
'Tekliflerim' => '/root/offers',
],
]) !!}
@endsection
@section('content')
{{-- @include('components.sidebar') --}}
{{-- @include('components.profile') --}}
@if ($errors->any())
@include('components.error-modal-second')
@endif
@if (session('error'))
@include('components.error-modal')
@endif
@if (session('success'))
@include('components.success-modal')
@endif
Teklif Açıklaması
|
Firma
|
Fatura
|
Teklif Bitiş Tarihi
|
Teklif Toplamı
|
Görüntüle
|
Sil
|
@foreach ($offers as $offer)
{{ $offer->offer_description }}
|
{{ $offer->headOffice->office_name }}
|
@php
if ($offer->status == 0) {
$statusText = 'Reddedildi';
} elseif ($offer->status == 1) {
$statusText = 'Onaylandı';
} elseif ($offer->status == 2) {
$statusText = 'Onay Bekliyor';
}
@endphp
{{ $statusText }}
|
{{ \Carbon\Carbon::parse($offer->end_date)->isoFormat('D MMMM Y') }}
|
{{ $offer->total }}
|
|
|
@endforeach
@endsection
@section('javascript')
@endsection