public static function addRow(DetailTable $table, $header, ?string $value, string $format): void
  {
    if ($value!==null && $value!=='')
    {
      $table->addRow($header, ['class' => 'number'], sprintf($format, $value));
    }
    else
    {
      $table->addRow($header);
    }
  }