@extends('backend.layouts.app') @section('title', __('labels.backend.access.quotation.management') . ' | ' . __('labels.backend.access.quotation.edit')) @section('breadcrumb-links') @include('backend.quotation.includes.breadcrumb-links') @endsection @section('content') {{ html()->modelForm($quotation, 'PATCH', route('admin.quotation.update', $quotation->id))->class('form-horizontal')->attribute('enctype', 'multipart/form-data')->open() }}

@lang('labels.backend.access.quotation.management') @lang('labels.backend.access.quotation.edit')


{{ html()->label(__('validation.attributes.backend.access.quotation.quotation_message'))->class('col-md-2 form-control-label')->for('quotation_message') }}
{{ $quotation->quotation_message }}
{{ html()->label(__('validation.attributes.backend.access.quotation.quotation_image'))->class('col-md-2 form-control-label')->for('quotation_image') }}
@foreach($quotationImages as $key => $images) @endforeach
{{ html()->label(__('validation.attributes.backend.access.quotation.posted_by'))->class('col-md-2 form-control-label')->for('posted_by') }}
{{ $postedBy->first_name . " " . $postedBy->last_name}}
{{ html()->label(__('validation.attributes.backend.access.quotation.payment_type'))->class('col-md-2 form-control-label')->for('payment_type') }}
@if($quotation->payment_type == 0) {{ 'Paynow'}} @else {{ 'Online'}} @endif
{{ html()->label(__('validation.attributes.backend.access.quotation.payment_status'))->class('col-md-2 form-control-label')->for('payment_status') }} @if($quotation->payment_status == 1)
{{ 'Paid' }}
@elseif($quotation->payment_status == 2)
{{ 'Refunded' }}
@else
@endif
@if($quotation->payment_status == 1)
@endif
{{ html()->closeModelForm() }} @endsection