v4.1.9: Начальная производственная версия

- Полный backend на Hono + TypeScript
- SQLite база данных с 38 записями
- 3 пользователя: admin, aknaproff, kasutaja
- Модальное окно reportModal (4 шага)
- Docker конфигурация для Synology ARM
- Все миграции (0001-0017)
- Frontend: vanilla HTML/JS (original.html)
This commit is contained in:
Deploy Bot
2025-12-31 12:00:00 +02:00
parent afea76b053
commit 4898f5ec7f
381 changed files with 9105 additions and 65477 deletions

View File

@@ -1,68 +0,0 @@
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class NotificationToUserForAccountUpgrade extends Notification
{
use Queueable;
/**
* Create a new notification instance.
*
* @return void
*/
public $user;
public $package;
public function __construct($user, $subscription_info)
{
$this->user = $user;
$this->subscription_info = $subscription_info;
}
/**
* 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)
{
return (new MailMessage)
->greeting('Hello!')
->subject('Your account has been upgraded')
->line('Your account has been upgraded with the following packages')
->line('Package: '.$this->subscription_info->package_details['name'])
->line('Valid Till: '.\Carbon\Carbon::parse($this->subscription_info['end_date'])->isoFormat('D/MM/YYYY'))
->line('Description: '.$this->subscription_info->package_details['description']);
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}