|
|
|
@@ -145,10 +145,9 @@ class UpdateManager extends ReceiptIssuingOrderManager |
|
|
|
*/ |
|
|
|
public function setConfirm(): static |
|
|
|
{ |
|
|
|
if ($this->order->receipt_no !== null) { |
|
|
|
if ($this->order->status_receipt_confirm_datetime !== null) { |
|
|
|
throw new LogicException("領収証確定済み変更検知"); |
|
|
|
} |
|
|
|
$this->order->receipt_no = $this->generateReceiptnNo(); |
|
|
|
$this->order->status_receipt_confirm_datetime = DateUtil::now(); |
|
|
|
|
|
|
|
// イベント登録 |
|
|
|
|