@extends('backend.layout') @section('content')
{{ __('Booking Id') }} | {{ __('Customer') }} | {{ __('Vendor') }} | {{ __('Refund Type') }} | {{ __('Security Deposit') }} | {{ __('Partial Amount') }} | {{ __('Status') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|---|
#{{ @$refund->booking->booking_number }} |
@if ($refund->booking)
@if ($refund->booking->user_id == null)
{{ @$refund->booking->name }}
{{ @$refund->booking->email }} @else {{ @$refund->booking->user->username }} {{ @$refund->booking->user->email }} @endif @else {{ '-' }} @endif |
@if ($refund->booking)
@if (!is_null($refund->booking->vendor_id))
{{ @$refund->booking->vendor->username }}
{{ @$refund->booking->vendor->email }} @else {{ 'admin' }} @endif @else {{ '-' }} @endif |
{{ ucfirst(str_replace('_', ' ', $refund->refund_type)) }} | {{ @$refund->booking->currency_symbol_position == 'left' ? @$refund->booking->currency_symbol : '' }} {{ @$refund->booking->security_deposit_amount }} {{ @$refund->booking->currency_symbol_position == 'right' ? @$refund->booking->currency_symbol : '' }} | @if ($refund->refund_type == 'partial') {{ @$refund->booking->currency_symbol_position == 'left' ? @$refund->booking->currency_symbol : '' }} {{ $refund->partial_amount }} {{ @$refund->booking->currency_symbol_position == 'right' ? @$refund->booking->currency_symbol : '' }} @else {{ '-' }} @endif |