'sAmountNetNumeric' =>
$this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
],
'sTaxRates' =>
$this->sBasketData
[CheckoutKey::TAX_RATES
] ?? null,
'ordernumber' =>
$orderNumber,
'sOrderDay' =>
date('d.m.Y'
),
'sOrderTime' =>
date('H:i'
),
'sComment' =>
$this->sComment,
'attributes' =>
$attributes,
'sEsd' =>
$esdOrder,
];
if ($dispatchId) { $variables['sDispatch'
] =
$this->sSYSTEM->sMODULES
['sAdmin'
]->
sGetPremiumDispatch($dispatchId);
} if ($this->bookingId
) { $variables['sBookingID'
] =
$this->bookingId;
} // Completed - Garbage basket / temporary - order
$this->
sDeleteTemporaryOrder();
$this->db->
executeUpdate( 'DELETE FROM s_order_basket WHERE sessionID=?',
[$this->
getSession()->
offsetGet('sessionId'
)] );