Обновлены тексты уведомлений на почту

This commit is contained in:
developer 2026-03-27 14:28:26 +08:00
parent 23abf365de
commit 535b7aa194
8 changed files with 9 additions and 4 deletions

View File

@ -39,6 +39,7 @@ public function via(object $notifiable): array
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->from(env('MAIL_FROM_ADDRESS'), config('app.name', 'Партнерский кабинет'))
->subject(__('Agent was created'))
->line(__('Your account was attached as agent'))
->line($this->agent->company->name)

View File

@ -42,6 +42,7 @@ public function via(object $notifiable): array
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->from(env('MAIL_FROM_ADDRESS'), config('app.name', 'Партнерский кабинет'))
->line('The introduction to the notification.')
->action('Notification Action', url('/'))
->line('Thank you for using our application!');

View File

@ -42,6 +42,7 @@ public function via(object $notifiable): array
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->from(env('MAIL_FROM_ADDRESS'), config('app.name', 'Партнерский кабинет'))
->line('The introduction to the notification.')
->action('Notification Action', url('/'))
->line('Thank you for using our application!');

View File

@ -42,6 +42,7 @@ public function via(object $notifiable): array
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->from(env('MAIL_FROM_ADDRESS'), config('app.name', 'Партнерский кабинет'))
->line('The introduction to the notification.')
->action('Notification Action', url('/'))
->line('Thank you for using our application!');

View File

@ -38,6 +38,7 @@ public function via(object $notifiable): array
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->from(env('MAIL_FROM_ADDRESS'), config('app.name', 'Партнерский кабинет'))
->subject(__('Account was created'))
->line(__('Your account was created'))
->line(__('Your login', ['login' => $this->login]))

View File

@ -16,7 +16,7 @@
|
*/
'name' => env('APP_NAME', 'Laravel'),
'name' => env('APP_NAME', 'Партнерский кабинет'),
/*
|--------------------------------------------------------------------------

View File

@ -24,8 +24,8 @@
if($json['total_commits'] > 0)
{
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build");
//$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
//$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build");
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
echo "<p>$result</p>";
}

View File

@ -14,7 +14,7 @@
foreach ($clientDeals as $deal) {
//echo 'dId:' . $deal->id;
$filterRow[] = 'filter[deal_id][]=' . $deal->id;
$complexesNames[] = $deal->complex->name;
$complexesNames[] = $deal->complex()->withTrashed()->name;
}
$filterRow = implode('&', $filterRow);
$complexesNames = array_unique($complexesNames);