<?php
namespace platyFramework;

/**
 * View 파일 입니다
 *
 * @var ptyFormModel $form
 * @var ptyTableItemModel $item
 */
?>
<section class="content-header">
    <h1>
        <?= $title ?>
        <small><?= $title_desc ?></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
        </li>
    </ol>
</section>

<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
    <section class="content">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">기본 정보</h3>
                <div class="box-tools pull-right">
                    <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                    </button>
                </div>
            </div>
            <div class="box-body pad">
                <input type="hidden" name="id" value="<?= $item->id ?>">
                <?= $form->getInput("상호명", "companyName", "placeholder=''", "설정 > 하단 영역 노출"); ?>
                <?= $form->getInput("사업자 번호", "businessNumber", "placeholder='123-456-789'", "설정 > 하단 영역 노출"); ?>
                <?= $form->getInput("소재지", "companyAddress", "placeholder=''", "설정 > 하단 영역 노출"); ?>
                <?= $form->getInput("대표자", "companyOwnerName", "placeholder=''", "설정 > 하단 영역 노출"); ?>
                <?= $form->getInput("통신 판매업 번호", "commBusinessNumber", "placeholder=''", "설정 > 하단 영역 노출"); ?>
                <?= $form->getInput("고객문의 전화 번호", "askPhoneNumber", "placeholder=''", "설정 > 하단 영역 노출"); ?>
                <?= $form->getTextEdit("최저가보장 안내 문구", "lowerPriceIntroTitle", "placeholder=''", ""); ?>
            </div>
            <div class="box-footer">
                <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
                <button type="submit" class="btn btn-info pull-left">저장</button>
            </div>
        </div>
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">결제 정보 설정</h3>
                <div class="box-tools pull-right">
                    <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                    </button>
                </div>
            </div>
            <div class="box-body pad">
                <input type="hidden" name="id" value="<?= $item->id ?>">
                <?= $form->getInput("이니시스 MID", "inicisMid", "placeholder='테스트를 위해서는 INIpayTest 를 설정하세요'", ""); ?>
            </div>
            <div class="box-footer">
                <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
                <button type="submit" class="btn btn-info pull-left">저장</button>
            </div>
        </div>
    </section>
</form>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/ckeditor/ckeditor.js"></script>