@if($to == 'vendor')
{{__("Hello :name",['name'=>$user->getDisplayName()])}}
@if($action == 'insert')
{{__('Your payout request has been submitted:')}}
@elseif($action == 'update')
{{__('Your payout request has been updated:')}}
@elseif($action == 'reject')
{{__('Your payout request has been rejected:')}}
@elseif($action == 'delete')
{{__('Your payout request has been deleted')}}
@endif
@if(!in_array($action,['insert','delete']))
- {{__('Status:')}} {{$payout_request->status_text}}
@if($payout_request->pay_date)
- {{__('Pay date:')}} {{display_date($payout_request->pay_date)}}
@endif
@if($payout_request->note_to_vendor)
- {{__('Note to vendor:')}} {!! clean($payout_request->note_to_vendor) !!}
@endif
{{__('Payout information:')}}
@endif
- {{__("Payout ID:")}} #{{$payout_request->id}}
- {{__('Amount: ')}} {{format_money($payout_request->amount)}}
- {{__('Payout method: ')}}
{{__(':name to :info',['name'=>$payout_request->payout_method_name,'info'=>$payout_request->account_info])}}
@if($payout_request->note_to_admin)
- {{__('Note to admin: ')}}
{{$payout_request->note_to_admin}}
@endif
- {{__('Created at: ')}}
{{display_datetime($payout_request->created_at)}}
{{__('You can check your payout request here:')}} {{__('View payouts')}}
@else
{{__("Hello administrator")}}
@if($action == 'insert')
{{__('A vendor has been submitted a payout request:')}}
@elseif($action == 'update')
{{__('A payout request has been updated:')}}
@elseif($action == 'reject')
{{__('A payout request has been rejected:')}}
@elseif($action == 'delete')
{{__('A payout request has been deleted')}}
@endif
@if(!in_array($action,['insert','delete']))
- {{__('Status:')}} {{$payout_request->status_text}}
@if($payout_request->pay_date)
- {{__('Pay date:')}} {{display_date($payout_request->pay_date)}}
@endif
@if($payout_request->note_to_vendor)
- {{__('Note to vendor:')}} {!! clean($payout_request->note_to_vendor) !!}
@endif
{{__('Payout information:')}}
@endif
- {{__("Payout ID:")}} #{{$payout_request->id}}
- {{__('Vendor: ')}} {{$payout_request->vendor->getDisplayName()}}
- {{__('Amount: ')}} {{format_money($payout_request->amount)}}
- {{__('Payout method: ')}}
{{__(':name to :info',['name'=>$payout_request->payout_method_name,'info'=>$payout_request->account_info])}}
@if($payout_request->note_to_admin)
- {{__('Note to admin: ')}}
{{$payout_request->note_to_admin}}
@endif
- {{__('Created at: ')}}
{{display_datetime($payout_request->created_at)}}
{{__('You can check all payout request here:')}} {{__('Manage payouts')}}
@endif
{{__('Regards')}},
{{setting_item('site_title')}}