message: billing - fix errors when billing features are switched OFF
diff: @@ -348,7 +348,9 @@ export default class OCPPUtils {
  // Delegate
  await billingImpl.updateTransaction(transaction);
  // Update
  + if (transaction.billingData) {
  transaction.billingData.lastUpdate = new Date();
  + }
  } catch (error) {
  await Logging.logError({
  tenantID: tenantID,
  @@ -367,8 +369,10 @@ export default class OCPPUtils {
  // Delegate
  const billingDataStop: BillingDataTransactionStop = await billingImpl.stopTransaction(transaction);
  // Update
  + if (transaction.billingData) {
  transaction.billingData.stop = billingDataStop;
  transaction.billingData.lastUpdate = new Date();
  + }
  } catch (error) {
  await Logging.logError({
  tenantID: tenantID,
  