<script type="text/javascript">
    $(function() {
        $("button.close").on("click", function() {
            load_data(get_periode(), get_pelanggan(), get_sales());
        });

        loading("#form_kanban #form-detail-layanan");
        $("#form_kanban #form-detail-layanan").load("<?= route('sales_activity.kanban.form_layanan', ['id_pipeline' => $id]) ?>");
    });
</script>
<style>
    #form_kanban.card-body {
        color: grey;
        font-size: 12px;
    }

    #form_kanban .text-biru {
        color: #1c77d4;
    }
</style>
<div class="card-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
    <h3 class="title modal-title">Konfirmasi Data</h3>
</div>

<div id="form_kanban" class="card-body" disabled>
    <div class="form-group">
        <div class="row">
            <div id="keterangan" class="col-12">
                <label class="font-weight-bold mb-1" for="keterangan"><?= $this->lang->line('keterangan') ?></label>
                <textarea class="form-control" rows="5"></textarea>
            </div>
        </div>
    </div>
    <div id="form-detail-layanan"></div>
</div>

<div class="card-footer">
    <div class="row">
        <div class="col-md-7 text-left">
            <div id="message"></div>
        </div>
        <div class="col-md-5 text-right">
            <button id="btn_submit" class="btn btn-primary ladda-button" data-style="expand-left"><?= '<i class="fa fa-check"></i> ' . $this->lang->line('button_form_submit') ?></button>
        </div>
    </div>
</div>
