<div class="page-breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="fa fa-home"></i>
            <a href="#" style="color: #797979">主頁</a>
        </li>

        <li class='active' style='color:#ef4130'>收據管理</li>
    </ul>
</div>

<div class="page-header position-relative">
    <div class="header-title">
        <h1>
            收據管理
        </h1>
    </div>
    <!--Header Buttons-->
    <div class="header-buttons">
        <a class="sidebar-toggler" href="#">
            <i class="glyphicon glyphicon-resize-horizontal"></i>
        </a>
        <a class="refresh" id="refresh-toggler" href="#">
            <i class="glyphicon glyphicon-refresh"></i>
        </a>
        <a class="fullscreen" id="fullscreen-toggler" href="#">
            <i class="glyphicon glyphicon-fullscreen"></i>
        </a>
    </div>
    <!--Header Buttons End-->
</div>

<div class="content">
    <form method="post" action="/backend/receipt/<?= $action ?>">
        <textarea class="form-control" name="toc" cols="50" rows="10" style="resize:none;" placeholder="請填寫收據條款"><?=$content['toc']?></textarea>
        <div class="row">
        <?php if($action == "update"){?>
        <input type="hidden" name="id" value="<?=$content['id']?>">
            <?php }?>
            <button class="btn btn-success col-md-3">確認</button>
    </form>
    <button class="btn btn-success col-md-3">重設</button>
</div>
</div>