blob: 9bfd17f32dd1e47911e1cf0ea344a130b7eba25e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
/** @version 4.6.1 */
declare(strict_types=1);
/**
* Integration eines Widerrufes in die Bestellansicht im Backend (Abo-Verlängerungen)
*/
$row = $this->view['wpsg_mod_revocation']['row']??null;
if ($row === null) return;
?>
<tr></tr>
<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
<td colspan="5">
<?php echo __('Widerruf', 'wpsg'); ?>:
<?php echo wpsg_translate(__('#1# Stück am #2# widerrufen', 'wpsg'), $row['amount'], \wp_date('d. F Y H:i:s', strtotime($row['time']))); ?>
<?php if (($row['name']??'') !== '') echo ' · '.esc_html($row['name']).' ('.esc_html((string)($row['contact']??'')).')'; ?>
<?php if (isset($row['confirmed'])) echo ' · '.(($row['confirmed'])?esc_html__('bestätigt', 'wpsg'):esc_html__('unbestätigt', 'wpsg')); ?>
<?php $arNotes = \wpsgRevocation\Revocation::noteTexts((array)($row['notes']??[])); if (sizeof($arNotes) > 0) echo ' · '.esc_html(implode(', ', $arNotes)); ?>
</td>
</tr>
<tr>----------------------------------------------------------------------------</tr>
|