@extends('voyager::master') @section('page_title', 'Hold Details') @section('page_header')
{{__('cashout.cashout.paragraph')}}
{{__('datatable.sn')}} | {{__('datatable.reference_number')}} | {{__('cashout.cashout.customer_id')}} | {{__('datatable.wallet_id')}} | {{__('datatable.amount')}} | {{__('cashout.cashout.created_date')}} | {{__('cashout.cashout.updated_date')}} | {{__('cashout.cashout.reason')}} | {{__('datatable.status')}} | {{__('cashout.cashout.expiry_date')}} | {{__('cashout.cashout.created_by')}} | {{ __('voyager::generic.actions') }} |
---|---|---|---|---|---|---|---|---|---|---|---|
{{++$index}} | {{checkAndReturnValue($hold, 'reference_number')}} | {{checkAndReturnValue($hold, 'customer_id')}} | {{checkAndReturnValue($hold, 'wallet_id')}} | {{format_number(checkAndReturnValue($hold, 'amount'))}} | {{checkAndReturnValue($hold, 'created_at')? Carbon\Carbon::parse(checkAndReturnValue($hold, 'created_at'))->format('Y/m/d'):''}} | {{checkAndReturnValue($hold, 'reason')}} | @if(!empty(checkAndReturnValue($hold,'local_id'))) {{__('datatable.active')}} @endif | {{checkAndReturnValue($hold, 'expired_at')}} | {{checkAndReturnValue($hold, 'name')}} | @if(hasPermission('approval', 'Hold') && checkAndReturnValue($hold,'is_approval_needed')==1) @endif @if(hasPermission('release', 'Hold') && checkAndReturnValue($hold,'is_release_approval_needed')==1) {{__('cashout.hold_details.reject_release')}} {{__('cashout.hold_details.approve_release')}} @endif @if(hasPermission('create_release', 'Hold') && checkAndReturnValue($hold,'is_approval_needed')==0 && checkAndReturnValue($hold,'is_release_approval_needed')==0) {{__('cashout.hold_details.create_release')}} @endif | |
{{++$index}} | {{checkAndReturnValue($hold, 'referenceNumber')}} | {{checkAndReturnValue($hold, 'customerId')}} | {{checkAndReturnValue($hold, 'walletId')}} | {{format_number(checkAndReturnValue($hold, 'amount'))}} | {{checkAndReturnValue($hold,'createdDt')?Carbon\Carbon::createFromTimestamp((int)$hold['createdDt'] / 1000)->format('Y/m/d'):''}} | {{checkAndReturnValue($hold,'updatedDt')?Carbon\Carbon::createFromTimestamp((int)$hold['updatedDt'] / 1000)->format('Y/m/d'):''}} | {{checkAndReturnValue($hold, 'reason')}} | {{checkAndReturnValue($hold, 'status')}} | {{checkAndReturnValue($hold,'expiryDt')?Carbon\Carbon::createFromTimestamp((int)$hold['expiryDt'] / 1000)->format('Y/m/d'):''}} | {{checkAndReturnValue($hold, 'createdBy')}} | @if(checkAndReturnValue($hold, 'status')=="ACTIVE") @if(hasPermission('release', 'Hold')) {{__('cashout.hold_details.release')}} @endif @else {{__('cashout.hold_details.released')}} @endif |