public function mount(int|string $record): void { parent::mount($record); $this->paymentTransactionService = app()->make(PaymentTransactionServiceContract::class); }
protected function beforeSave(): void { app()->make(PaymentTransactionServiceContract::class)->createTransaction($this->data, $this->getRecord()); }
beforeSave()
@jdi.sdd