@extends('layouts.app') @section('urlContent') {!! view('components.breadcrumbs', [ 'b_items' => [ 'Tekliflerim' => '/customer/offers', 'Teklif Detay' => '/customer/offers/' . $offers->id, ], ]) !!} @endsection @section('content')
@if ($offers->approverUser && $offers->approverUser->roles[0]->name == 'Root')

Firma Tarafından Onaylandı

@endif
logo

{{ $firm->firm_name }}

{{ $firm->firm_address }}

{{--

{{ $firm }}

--}}

{{ $firm->firm_phone }}

VD: {{ $firm->tax_admin }}

{{ $firm->tax_no }}

TEKLİF


Müşteri

{{ $offers->headOffice->office_title }}

{{ $offers->headOffice->address }}

{{ $offers->headOffice->city }} / {{ $offers->headOffice->district }}

VD: {{ $offers->headOffice->tax_admin }}

{{ $offers->headOffice->office_tax_no }}


TEKLİF BİTİŞ TARİHİ

@php $offerDate = \Carbon\Carbon::parse($offers->end_date); $offerDate = $offerDate->isoFormat('D MMMM Y'); @endphp

{{ $offerDate }}

TEKLİF AÇIKLAMASI

{{ $offers->offer_description }}


TEKLİF KOŞULLARI

{{ $offers->create_offer ? $offers->create_offer : 'Teklif koşulu belirtilmemiş' }}

@php $working_types = json_decode($offers->headOffice->working_types, true) ?? []; @endphp @if (in_array('hourly', $working_types)) @endif @if (in_array('daily', $working_types)) @endif @if (in_array('monthly', $working_types)) @endif @foreach ($offers->offerProducts as $product) @php $working_types = json_decode($offers->headOffice->working_types, true) ?? []; @endphp @if (in_array('hourly', $working_types)) @endif @if (in_array('daily', $working_types)) @endif @if (in_array('monthly', $working_types)) @endif {{-- --}} @endforeach

Hizmet / Ürün

Saatlik Ücret

Günlük Ücret

Aylık Ücret

{{ $product->product_name }}

{{ $product->cost_hourly }}

{{ $product->cost_daily }} ₺

{{ $product->cost_monthly }}

% {{ $product->tax_rate }}

@if ($offers->status == 2)
@csrf
@endif
@csrf
@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 @endsection