Transaction event and notification changes..

This commit is contained in:
Cüneyt Şentürk
2021-06-30 10:51:52 +03:00
parent f9b5611611
commit 0fd2288116
8 changed files with 148 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ class Payments extends Controller
*/
public function printPayment(Transaction $payment, Request $request)
{
event(new \App\Events\Transaction\TransactionPrinting($payment));
event(new \App\Events\Banking\TransactionPrinting($payment));
$revenue = $payment;
$view = view($payment->template_path, compact('revenue'));
@@ -82,7 +82,7 @@ class Payments extends Controller
*/
public function pdfPayment(Transaction $payment, Request $request)
{
event(new \App\Events\Transaction\TransactionPrinting($payment));
event(new \App\Events\Banking\TransactionPrinting($payment));
$currency_style = true;