|
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
namespace App\Http\Controllers\Web\SeasonTicketContract; |
|
|
namespace App\Http\Controllers\Web\SeasonTicketContract; |
|
|
|
|
|
|
|
|
|
|
|
use App\Email\Members\ChangePlanOrderNotice; |
|
|
use App\Email\Members\StickerReOrderNotice; |
|
|
use App\Email\Members\StickerReOrderNotice; |
|
|
use App\Http\Controllers\Web\WebController; |
|
|
use App\Http\Controllers\Web\WebController; |
|
|
use App\Kintone\Models\ChangePlanApplication; |
|
|
use App\Kintone\Models\ChangePlanApplication; |
|
|
@@ -57,10 +58,10 @@ class ChangePlanOrderController extends WebController |
|
|
$application->memo = $param->memo; |
|
|
$application->memo = $param->memo; |
|
|
|
|
|
|
|
|
// メール送信 |
|
|
// メール送信 |
|
|
// $email = new StickerReOrderNotice($seasonTicketContract, $application, $customer); |
|
|
|
|
|
// $email->setUser(Auth::user()); |
|
|
|
|
|
// $emailMmanager = new EmailManager($email); |
|
|
|
|
|
// $emailMmanager->confirm(); |
|
|
|
|
|
|
|
|
$email = new ChangePlanOrderNotice($seasonTicketContract, $application, $customer); |
|
|
|
|
|
$email->setUser(Auth::user()); |
|
|
|
|
|
$emailMmanager = new EmailManager($email); |
|
|
|
|
|
$emailMmanager->confirm(); |
|
|
|
|
|
|
|
|
$application->save(); |
|
|
$application->save(); |
|
|
|
|
|
|
|
|
|