@extends('layouts.back-end.app-seller') @section('title', translate('expense_Transactions')) @section('content')
{{translate('SL')}} | {{translate('XID')}} | {{translate('transaction_Date')}} | {{translate('order_ID')}} | {{translate('expense_Amount')}} | {{translate('expense_Type')}} | {{translate('action')}} |
---|---|---|---|---|---|---|
{{ $expense_transactions_table->firstItem()+$key }} | {{ $transaction->orderTransaction->transaction_id }} | {{ date_format($transaction->updated_at, 'd F Y, h:i:s a') }} | {{$transaction->id}} | {{ setCurrencySymbol(amount: usdToDefaultCurrency(amount: ($transaction->coupon_discount_bearer == 'seller'?$transaction->discount_amount:0) + ($transaction->free_delivery_bearer=='seller'?$transaction->extra_discount:0)), currencyCode: getCurrencyCode()) }} |
{{ $transaction->coupon_discount_bearer == 'seller'?(isset($transaction->coupon->coupon_type) ? ($transaction->coupon->coupon_type == 'free_delivery' ? 'Free Delivery Promotion':ucwords(str_replace('_', ' ', $transaction->coupon->coupon_type))) : ''):'' }}
{{ $transaction->free_delivery_bearer == 'seller' ? ucwords(str_replace('_', ' ', $transaction->extra_discount_type)):'' }} |