core/api/modules/print-zakaz/index.html

69 lines
1.8 KiB
HTML
Raw Normal View History

2023-07-12 20:02:20 +05:00
<!DOCTYPE html>
<html lang="ru">
<head>
<base href="/api/admin/" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width initial-scale=1.0">
<title>Заказ клиента {$smarty.get.id}</title>
<!-- GLOBAL MAINLY STYLES-->
<link href="assets/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="/api/modules/print-zakaz/css.css" rel="stylesheet" />
</head>
<body class="fixed-navbar">
<div class="container-fluid d-print-none" style="border: 0px solid black;">
<button class="btn btn-success d-print-none" id="print">Напечатать</button>
</div>
<div class="container-fluid" style="border: 0px solid black;">
<h1>Заказ клиента № {$smarty.get.id}</h1>
<hr>
<h4>Данные о клиенте:</h4>
{if $order['tip']==0}
{$order['kl']}
{else}
<b>{$order['org']}</b> ({$order['inn']}{if $order['kpp']} - {$order['kpp']}{/if})
<br>
<br>
<h4>Контактное лицо:</h4>
{$order['kl']}
{/if}
<table>
<tr><td><b></b></td><td><b>Наименование</b></td><td><b>Артикул</b></td><td><b>Цена</b></td><td style="width: 60px;"><b>Кол-во</b></td><td><b>Сумма</b></td></tr>
{section name=customer loop=$list}{if $list[customer].id}
<tr>
<td>{$list[customer].n}</td>
<td>{$list[customer].title}</td>
<td>{$list[customer].artikul}</td>
<td>{$list[customer].cena}</td>
<td>{$list[customer].kolvo}</td>
<td>{$list[customer].summ}</td>
</tr>
{/if}{/section}
<tr><td></td><td></td><td></td><td></td><td>Итого:</td><td>{$itog}</td></tr>
</table>
</div>
<script src="/api/jquery/jquery-3.6.0.min.js"></script>
<script src="/api/modules/print-zakaz/mod.js"></script>
</body>
</html>