芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Notifications/User/SendMoney/SenderMail.php
user = $user; $this->data = $data; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { $user = $this->user; $data = $this->data; $trx_id = $this->data->trx_id; $date = Carbon::now(); $dateTime = $date->format('Y-m-d h:i:s A'); return (new MailMessage) ->greeting("Hello ".$user->fullname." !") ->subject($data->title) ->line("Your Send Money request send successfully, details of send money:") ->line($data->title) ->line("Transaction Id: " .$trx_id) ->line("Request Amount: " . $data->request_amount) ->line("Fees & Charges: " . $data->charges) ->line("Total Payable Amount: " . $data->payable) ->line("Recipient Received: " . $data->received_amount) ->line("Status: ". $data->status) ->line("Date And Time: " .$dateTime) ->line('Thank you for using our application!'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }