12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?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
- {
- //
- }
- }
|