mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 01:12:14 +00:00
- Language implementation for oasis
- frontend build
This commit is contained in:
@@ -27,7 +27,7 @@ class ReminderForPaymentRequiredNotification extends Notification
|
||||
/**
|
||||
* Get the notification's delivery channels.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @param mixed $notifiable
|
||||
* @return array
|
||||
*/
|
||||
public function via($notifiable)
|
||||
@@ -38,33 +38,32 @@ class ReminderForPaymentRequiredNotification extends Notification
|
||||
/**
|
||||
* Get the mail representation of the notification.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @param mixed $notifiable
|
||||
* @return \Illuminate\Notifications\Messages\MailMessage
|
||||
*/
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
$url = url("/platba/{$this->order['id']}");
|
||||
|
||||
$name = $this->plan['product']['name'];
|
||||
$price = Cashier::formatAmount($this->plan['plan']['amount']);
|
||||
$storage = format_gigabytes($this->plan['product']['metadata']['capacity']);
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('🏝 Potvrzeni Objednavky - OasisDrive')
|
||||
->greeting('Vážený zákazníku,')
|
||||
->line('Děkujeme za Vaši objednávku služby Oasis Drive pro bezpečné uložení Vašich firemních dokumentů.')
|
||||
->line("Vámi vybraný tarif: $name - $storage za $price")
|
||||
->line('Připomínáme dokončení aktivace služby a blížící se konec platnosti registračního odkazu:')
|
||||
->action('Pro aktivaci klikněte zde', $url)
|
||||
->line('Po dokončení registrace v odkazu Vám bude služba automaticky aktivována a lze ji ihned využívat.')
|
||||
->line('S pozdravem a přáním hezkého dne')
|
||||
->salutation('Tým Oasis Drive');
|
||||
->subject(__t('mail_order_subject'))
|
||||
->greeting(__t('mail_greeting'))
|
||||
->line(__t('mail_reminder_line_1'))
|
||||
->line(__t('mail_tariff', [
|
||||
'name' => $this->plan['product']['name'],
|
||||
'storage' => Cashier::formatAmount($this->plan['plan']['amount']),
|
||||
'price' => format_gigabytes($this->plan['product']['metadata']['capacity']),
|
||||
]))
|
||||
->line(__t('mail_reminder_line_2'))
|
||||
->action(__t('mail_activation_action'), $url)
|
||||
->line(__t('mail_reminder_line_3'))
|
||||
->salutation(__t('mail_salutation'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the array representation of the notification.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
* @param mixed $notifiable
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($notifiable)
|
||||
|
||||
Reference in New Issue
Block a user