123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
-
- namespace App\Observers;
-
- use App\Models\Accounting\Account;
- use App\Models\Accounting\JournalEntry;
-
- class JournalEntryObserver
- {
- /**
- * Handle the JournalEntry "created" event.
- */
- public function created(JournalEntry $journalEntry): void
- {
- //
- }
-
- private function updateEndingBalance(Account $account): void
- {
- //
- }
-
- /**
- * Handle the JournalEntry "deleting" event.
- */
- public function deleting(JournalEntry $journalEntry): void
- {
- //
- }
-
- /**
- * Handle the JournalEntry "deleted" event.
- */
- public function deleted(JournalEntry $journalEntry): void
- {
- //
- }
-
- /**
- * Handle the JournalEntry "restored" event.
- */
- public function restored(JournalEntry $journalEntry): void
- {
- //
- }
-
- /**
- * Handle the JournalEntry "force deleted" event.
- */
- public function forceDeleted(JournalEntry $journalEntry): void
- {
- //
- }
- }
|