feat(migrations): add ownership fields to doctors table for IRIMC import
- Introduced new columns: owner_status, source, source_ref, managed_by, and claimed_at to the doctors table. - Created indexes for owner_status and source to optimize queries related to unclaimed doctors. feat(auth): implement SystemOwnerCommand for managing system-owner user - Added command to create, activate, and deactivate a system-owner user for IRIMC crawler. - Ensured the user has ROLE_ADMIN to access import endpoints. - Handled password setting and user status management within the command.
This commit is contained in:
@@ -66,6 +66,9 @@ class MellatGateway implements PaymentGatewayInterface
|
||||
/** SoapClient تنبل — فقط prod و فقط وقتی لازم شد ساخته میشود. */
|
||||
private function soap(): \SoapClient
|
||||
{
|
||||
if (!class_exists(\SoapClient::class)) {
|
||||
throw new \App\Shared\Exception\AppException(\App\Shared\Constant\ErrorCodes::ERR_PAYMENT_001, null, 503);
|
||||
}
|
||||
if ($this->soap === null) {
|
||||
$this->soap = new \SoapClient($this->wsdlUrl(), [
|
||||
'trace' => true,
|
||||
|
||||
Reference in New Issue
Block a user