You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JournalEntryObserver.php 993B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace App\Observers;
  3. use App\Models\Accounting\Account;
  4. use App\Models\Accounting\JournalEntry;
  5. class JournalEntryObserver
  6. {
  7. /**
  8. * Handle the JournalEntry "created" event.
  9. */
  10. public function created(JournalEntry $journalEntry): void
  11. {
  12. //
  13. }
  14. private function updateEndingBalance(Account $account): void
  15. {
  16. //
  17. }
  18. /**
  19. * Handle the JournalEntry "deleting" event.
  20. */
  21. public function deleting(JournalEntry $journalEntry): void
  22. {
  23. //
  24. }
  25. /**
  26. * Handle the JournalEntry "deleted" event.
  27. */
  28. public function deleted(JournalEntry $journalEntry): void
  29. {
  30. //
  31. }
  32. /**
  33. * Handle the JournalEntry "restored" event.
  34. */
  35. public function restored(JournalEntry $journalEntry): void
  36. {
  37. //
  38. }
  39. /**
  40. * Handle the JournalEntry "force deleted" event.
  41. */
  42. public function forceDeleted(JournalEntry $journalEntry): void
  43. {
  44. //
  45. }
  46. }