Files
sam-kd/estimate/output_EsDetail_screen.php
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

29 lines
1.1 KiB
PHP

<?php
// EsDetail_screen.php 견적파일을 output 수주에서 사용하게 개선한 코드임.
require_once($_SERVER['DOCUMENT_ROOT'] . "/session.php");
// output_head.php에서 사용할 변수 선언
$title_message = '거래명세서 ';
$title_message_sub = '거래명세서';
$tablename = 'output'; // 수주 테이블
$item = '거래명세서 ';
$emailTitle = '거래명세서';
$subTitle = '자동방화셔터 인정제품';
// 필요한 함수가 있다면 공통 유틸 파일 포함
if (!function_exists('number_to_korean')) {
@include_once($_SERVER['DOCUMENT_ROOT'] . '/lib/common.php'); // 예: 함수 정의 파일
}
?>
<?php include $_SERVER['DOCUMENT_ROOT'] . '/estimate/common/output_head.php'; ?> <!-- head 정보 불러오기 (수주내역서) -->
<?php include $_SERVER['DOCUMENT_ROOT'] . '/estimate/screen_view_original.php'; ?>
<div class="container mb-5 mt-2">
<div class="d-flex align-items-center justify-content-center mb-5">
</div>
</div>
<?php include $_SERVER['DOCUMENT_ROOT'] . '/estimate/common/output_lastJS.php'; ?> <!-- 마지막에 추가되는 견적관련 JS -->
</body>
</html>