| @@ -8,7 +8,7 @@ class BankAccountRegisterFailed extends Members | |||||
| { | { | ||||
| public function __construct( | public function __construct( | ||||
| protected Customer $customer, | |||||
| Customer $customer, | |||||
| ) { | ) { | ||||
| parent::__construct($customer); | parent::__construct($customer); | ||||
| } | } | ||||
| @@ -8,7 +8,7 @@ class BankAccountRegisterRemaind extends Members | |||||
| { | { | ||||
| public function __construct( | public function __construct( | ||||
| protected Customer $customer, | |||||
| Customer $customer, | |||||
| ) { | ) { | ||||
| parent::__construct($customer); | parent::__construct($customer); | ||||
| } | } | ||||
| @@ -12,7 +12,7 @@ class ParkingCertificateOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private ParkingCertificateApplication $app, | private ParkingCertificateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class SeasonTicketReOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private SeasonTicketReOrderApplication $app, | private SeasonTicketReOrderApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class StickerReOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private StickerReOrderApplication $app, | private StickerReOrderApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class TerminateOrderApprove extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private TerminateApplication $app, | private TerminateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class TerminateOrderComplete extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private TerminateApplication $app, | private TerminateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class TerminateOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private TerminateApplication $app, | private TerminateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class UserInfoUpdateOrderApprove extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private UserInfoUpdateApplication $app, | private UserInfoUpdateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -10,7 +10,7 @@ class UserInfoUpdateOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private UserInfoUpdateApplication $app, | private UserInfoUpdateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class VehicleInfoUpdateOrderApprove extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private VehicleInfoUpdateApplication $app, | private VehicleInfoUpdateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -12,7 +12,7 @@ class VehicleInfoUpdateOrderNotice extends Members | |||||
| public function __construct( | public function __construct( | ||||
| private SeasonTicketContract $seasonTicketContract, | private SeasonTicketContract $seasonTicketContract, | ||||
| private VehicleInfoUpdateApplication $app, | private VehicleInfoUpdateApplication $app, | ||||
| protected ?Customer $customer = null, | |||||
| ?Customer $customer = null, | |||||
| ) { | ) { | ||||
| if ($customer === null) { | if ($customer === null) { | ||||
| $customer = $app->getCustomer(); | $customer = $app->getCustomer(); | ||||
| @@ -57,7 +57,7 @@ class UpdateUserInfoOrderController extends WebController | |||||
| $application->memo = $param->memo; | $application->memo = $param->memo; | ||||
| // メール送信 | // メール送信 | ||||
| $email = new UserInfoUpdateOrderNotice($customer, $application); | |||||
| $email = new UserInfoUpdateOrderNotice($application, $customer); | |||||
| $email->setUser(Auth::user()); | $email->setUser(Auth::user()); | ||||
| $emailMmanager = new EmailManager($email); | $emailMmanager = new EmailManager($email); | ||||
| $emailMmanager->confirm(); | $emailMmanager->confirm(); | ||||