|
|
|
@@ -4,6 +4,7 @@ namespace App\Email\Members; |
|
|
|
|
|
|
|
use App\Kintone\Models\SeasonTicketContractEntry; |
|
|
|
use App\Kintone\Models\SeasonTicketContractSelection; |
|
|
|
use App\Logic\SeasonTicketContractEntryManager; |
|
|
|
use App\Logic\SeasonTicketContractSelectionManager; |
|
|
|
|
|
|
|
class SelectionNotice extends Members |
|
|
|
@@ -29,6 +30,7 @@ class SelectionNotice extends Members |
|
|
|
public function getMemberParams(): array |
|
|
|
{ |
|
|
|
$manager = new SeasonTicketContractSelectionManager($this->selection); |
|
|
|
$entryManager = new SeasonTicketContractEntryManager($this->entry); |
|
|
|
|
|
|
|
return [ |
|
|
|
'customer_name' => $this->entry->customerName, |
|
|
|
@@ -38,7 +40,13 @@ class SelectionNotice extends Members |
|
|
|
'selection', 'entry', |
|
|
|
$this->selection->getRecordId(), |
|
|
|
$this->entry->getRecordId(), |
|
|
|
$manager->getHash($this->entry->getRecordId()) |
|
|
|
$manager->getHash($this->entry->getRecordId()), |
|
|
|
]), |
|
|
|
'cancel_url' => $this->getAppUrl([ |
|
|
|
'season-ticket-contract', |
|
|
|
'entry', 'cancel', |
|
|
|
$this->entry->getRecordId(), |
|
|
|
$entryManager->getHash() |
|
|
|
]), |
|
|
|
]; |
|
|
|
} |
|
|
|
|