Skip to content

Commit

Permalink
feat: Add payment URL to payment reminder command and setting component
Browse files Browse the repository at this point in the history
  • Loading branch information
bangyadiii committed Jun 5, 2024
1 parent 01fdbaa commit 2374539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Console/Commands/PaymentReminderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function handle()
'TAGIHAN' => $customer->plan->price,
'ISOLIR' => $customer->isolir_date,
'BANK' => $bank,
'PAYMENT_URL' => route('payment.index', ['id' => $customer->id]),
];
$content = replacePlaceholder($template, $data);
$notification = new PaymentReminderNotification($customer->phone_number, $content);
Expand Down
3 changes: 3 additions & 0 deletions resources/views/livewire/setting/setting-component.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<li>
[BANK] = data Bank Perusahaan
</li>
<li>
[PAYMENT_URL] = Url Pembayaran
</li>
</ul>

<div class="mb-3 col-4">
Expand Down

0 comments on commit 2374539

Please sign in to comment.