사이트·관리자 봉투 물류 기능(수불·통계·레포트·재고·발주)과 DB·메뉴·E2E를 운영 반영한다.
통계 분석(전년대비·월별·계절별), 수급계획·LOT 수불, 지정판매소·실사·메뉴 링크 등을 포함한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||
/** @var string $href Brand link target */
|
||||
$href = $href ?? base_url();
|
||||
/** @var string $linkClass Anchor + inner flex typography */
|
||||
$linkClass = $linkClass ?? 'flex items-center gap-2 shrink-0 text-base font-semibold text-gray-800 tracking-tight hover:text-blue-600';
|
||||
$linkClass = $linkClass ?? 'app-brand flex items-center gap-2 shrink-0 text-base font-semibold text-gray-800 tracking-tight hover:text-blue-600';
|
||||
?>
|
||||
<a href="<?= esc($href) ?>" class="<?= esc($linkClass, 'attr') ?>" title="종량제 시스템">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="h-6 w-6 text-blue-900 translate-y-[1px] shrink-0" aria-hidden="true" focusable="false">
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* $printLgName - 지자체명 (선택, 미지정 시 세션에서 조회)
|
||||
* $printDate - 날짜 (선택, 기본 오늘)
|
||||
* $printExtraLines - 조회조건 등 추가 줄 (선택, 문자열 배열)
|
||||
* $printShowApproval - false 로 명시할 때만 결재란 숨김. 기본 true(담당·계장·과장).
|
||||
*/
|
||||
|
||||
if (! isset($printLgName)) {
|
||||
@@ -21,12 +22,13 @@ if (! isset($printLgName)) {
|
||||
$printDate = $printDate ?? date('Y-m-d');
|
||||
$printTitle = $printTitle ?? '';
|
||||
$printExtraLines = $printExtraLines ?? [];
|
||||
$printShowApproval = ($printShowApproval ?? true);
|
||||
?>
|
||||
|
||||
<div class="print-header" style="display:none;">
|
||||
<table style="width:100%; border-collapse:collapse; margin-bottom:10px;">
|
||||
<tr>
|
||||
<td style="width:60%; vertical-align:bottom;">
|
||||
<td style="width:55%; vertical-align:top;">
|
||||
<div style="font-size:12px; color:#666; margin-bottom:4px;"><?= esc($printLgName) ?></div>
|
||||
<div style="font-size:20px; font-weight:bold; letter-spacing:2px;"><?= esc($printTitle) ?></div>
|
||||
<div style="font-size:11px; color:#888; margin-top:4px;">출력일: <?= esc($printDate) ?></div>
|
||||
@@ -34,20 +36,24 @@ $printExtraLines = $printExtraLines ?? [];
|
||||
<div style="font-size:11px; color:#555; margin-top:2px;"><?= esc($line) ?></div>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
<td style="width:40%; vertical-align:top;">
|
||||
<table style="border-collapse:collapse; float:right; font-size:11px;">
|
||||
<?php if ($printShowApproval): ?>
|
||||
<td style="width:45%; vertical-align:top; text-align:right;">
|
||||
<table style="border-collapse:collapse; margin-left:auto; font-size:11px; width:220px;">
|
||||
<tr>
|
||||
<th style="border:1px solid #333; padding:4px 12px; background:#f0f0f0; text-align:center;">담당</th>
|
||||
<th style="border:1px solid #333; padding:4px 12px; background:#f0f0f0; text-align:center;">팀장</th>
|
||||
<th style="border:1px solid #333; padding:4px 12px; background:#f0f0f0; text-align:center;">과장</th>
|
||||
<td style="border:1px solid #333; padding:6px 8px; text-align:center; width:33%; height:36px;">담당</td>
|
||||
<td style="border:1px solid #333; padding:6px 8px; text-align:center; width:33%; height:36px;">계장</td>
|
||||
<td style="border:1px solid #333; padding:6px 8px; text-align:center; width:33%; height:36px;">과장</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border:1px solid #333; padding:8px 12px; height:40px; min-width:60px;"> </td>
|
||||
<td style="border:1px solid #333; padding:8px 12px; height:40px; min-width:60px;"> </td>
|
||||
<td style="border:1px solid #333; padding:8px 12px; height:40px; min-width:60px;"> </td>
|
||||
<td style="border:1px solid #333; height:44px;"> </td>
|
||||
<td style="border:1px solid #333;"> </td>
|
||||
<td style="border:1px solid #333;"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td style="width:45%;"></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</table>
|
||||
<hr style="border:1px solid #333; margin-bottom:10px;"/>
|
||||
|
||||
Reference in New Issue
Block a user