app/Notifications/Invoicing/SendInvoiceReminder.php
/**
     * Get the mail representation of the notification.
     *
     * @param  mixed $notifiable
     *
     * @return PaymentReminder
     */
Get the mail representation of the notification.
@param  mixed $notifiable


Get the mail representation of the notification . @param mixed $notifiable
public function toMail($notifiable)
    {
        $payUrl = null;
        if (!empty($this->gateway)) {
            $query = ['channel' => $this->gateway->name, 'customer' => $notifiable->uuid];
            $payUrl = web_url(['orders/' . $this->order->uuid . '/pay'],$query);
        }
        return (new PaymentReminder($notifiable, $this->order, $payUrl))->to($notifiable);
    }
public function toMail ( $ notifiable ) { $ payUrl = null ; if ( ! empty ( $ this -> gateway ) ) { $ query = [ 'channel' => $ this -> gateway -> name , 'customer' => $ notifiable -> uuid ] ; $ payUrl = web_url ( [ 'orders/' . $ this -> order -> uuid . '/pay' ] , $ query ) ; } return ( new PaymentReminder ( $ notifiable , $ this -> order , $ payUrl ) ) -> to ( $ notifiable ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .
# query parameters for the payment URL //$payUrl = web_url(['orders', $this->order->uuid, 'pay'], $query);