芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Notifications/User/BillPay/Rejected.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("Bill Pay For ". $data->bill_type.' ('.$data->bill_number.' )') ->line("Your bill pay request is rejected by admin successfully for ".$data->bill_type." , details of bill pay:") ->line("Transaction Id: " .$trx_id) ->line("Request Amount: " . getAmount($data->request_amount,4).' '.get_default_currency_code()) ->line("Fees & Charges: " . getAmount($data->charges,4).' '.get_default_currency_code()) ->line("Total Payable Amount: " . get_amount($data->payable,get_default_currency_code(),'4')) ->line("Status: ". $data->status) ->line("Reject Reason: ". $data->reason) ->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 [ // ]; } }