mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix bad slack URL
This commit is contained in:
@@ -92,13 +92,12 @@ class SubscriptionsOverdueReminder extends Notification
|
|||||||
*/
|
*/
|
||||||
public function toSlack(User $notifiable): SlackMessage
|
public function toSlack(User $notifiable): SlackMessage
|
||||||
{
|
{
|
||||||
$bill = $this->bill;
|
$url = route('bills.index');
|
||||||
$url = route('bills.show', [$bill->id]);
|
|
||||||
|
|
||||||
return new SlackMessage()
|
return new SlackMessage()
|
||||||
->warning()
|
->warning()
|
||||||
->attachment(static function ($attachment) use ($bill, $url): void {
|
->attachment(static function ($attachment) use ($url): void {
|
||||||
$attachment->title((string)trans('firefly.visit_bill', ['name' => $bill->name]), $url);
|
$attachment->title((string)trans('firefly.visit_bills'), $url);
|
||||||
})
|
})
|
||||||
->content($this->getSubject())
|
->content($this->getSubject())
|
||||||
;
|
;
|
||||||
|
@@ -1875,6 +1875,7 @@ return [
|
|||||||
'subscr_expected_x_times' => 'Expect to pay {{amount}} {{times}} times this period',
|
'subscr_expected_x_times' => 'Expect to pay {{amount}} {{times}} times this period',
|
||||||
'not_or_not_yet' => 'Not (yet)',
|
'not_or_not_yet' => 'Not (yet)',
|
||||||
'visit_bill' => 'Visit subscription ":name" at Firefly III',
|
'visit_bill' => 'Visit subscription ":name" at Firefly III',
|
||||||
|
'visit_bills' => 'Visit subscriptions at Firefly III',
|
||||||
'match_between_amounts' => 'Subscription matches transactions between :low and :high.',
|
'match_between_amounts' => 'Subscription matches transactions between :low and :high.',
|
||||||
'running_again_loss' => 'Previously linked transactions to this subscription may lose their connection, if they (no longer) match the rule(s).',
|
'running_again_loss' => 'Previously linked transactions to this subscription may lose their connection, if they (no longer) match the rule(s).',
|
||||||
'bill_related_rules' => 'Rules related to this subscription',
|
'bill_related_rules' => 'Rules related to this subscription',
|
||||||
|
Reference in New Issue
Block a user