5) { sleep(1); header("Location:" . $WebSite . "login/login_form.php"); exit; } ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); include $_SERVER['DOCUMENT_ROOT'] . '/load_header.php'; $title_message = '견적 단가'; $header = isset($_REQUEST["header"]) ? $_REQUEST["header"] : ""; ?> <?=$title_message?> prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. include $_SERVER['DOCUMENT_ROOT'] . '/price_raw_materials/_row.php'; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_motor'; try { // 최신 데이터를 가져오기 위해 ORDER BY와 LIMIT을 추가 $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_motor = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_bend'; try { // 최신 데이터를 가져오기 위해 ORDER BY와 LIMIT을 추가 $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_bend = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_shaft'; try { // 최신 데이터를 가져오기 위해 ORDER BY와 LIMIT을 추가 $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_shaft = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_pole'; try { $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_pole = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_angle'; try { $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_angle = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_pipe'; try { $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_pipe = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_screenplate'; try { $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_screenplate = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } $tablename = 'price_smokeban'; try { $sql = "SELECT * FROM {$DB}.$tablename where is_deleted = '0' ORDER BY num DESC LIMIT 1"; $stmh = $pdo->prepare($sql); $stmh->execute(); $row = $stmh->fetch(PDO::FETCH_ASSOC); // $row 배열로 DB 정보를 불러온다. $item_smokeban = $row['itemList']; } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } ?>
 
주자재
품목 구분 길이 두께(T) 비중 면적
(1슬랫당)
1㎡당
무게(kg)
입고가
(kg단가)
㎡ / 단가
(15%로스)
가공비 미미 합계 합계
(인건비포함)
비인정 품목코드
모터
NO. 구분 단가표 합계 1달러 위엔화 달러 달러 통관+운송 판매가 판매마진 매출대비
품목 모터 브라켓 콘트롤박스 리미트 위엔화 위엔화 달러 한화 한화 합계 20% UP (모터+브라켓) 마진율(%)
절곡판
품목 규격 두께(T) 비중 면적(㎡) 무게(kg) 입고가
(kg단가)
LOSS 할증가 판 단가(자재비) 판 단가 면적당
가공비
가공비 합계
(가공+판)
㎡ / 단가 ㎡ / 단가 kg / 단가
재질1 재질2 길이 폭*길이 두께*비중*면적 입고가*1.2 무게*loss할증가 면적*가공비
부자재(샤프트)
품목 상차/다발 1다발(개) 단위 지름(mm) 원 면적 2 파이 R(반지름) 길이(M) 도장/㎡ 도장 차1대/도장 용차 도장+용차 가공비 입고가
(6M)
원가합계 판매가 20% UP m / 단가
부자재(환봉)
품목 길이(M) 입고가
(5M)
판매가 20%
부자재(앵글)
품목 상차/다발 1다발(개) 단위 지름(mm) 원 면적 2 파이 R(반지름) 길이(M) 도장/㎡ 도장 차1대/도장 용차 도장+용차 가공비 입고가
(6M)
원가합계 판매가 20% m / 단가
부자재(각파이프)
품목 길이(mm) 규격(가로x세로) 두께(T) 길이(M) 입고가 원가합계 판매가 15%
부자재(스크린평철)
품목 두께(T) 길이(M) 가공비 입고가 원가합계 판매가 20% UP
부자재(연기차단재)
품목 용도 단위(롤) 길이(mm) 폭(mm) 용차 가공비 입고가 원가합계 판매가 15% 1롤/50M