<div class="modal-content">
    <div class="modal-header">
        <h5 class="modal-title"><?php echo @$title ?></h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    </div>
    <div class="modal-body">
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Tanggal Bayar</label>
            <div class="col-sm-3">
                <input type="date" class="form-control" id="tanggal" name="tanggal" value="<?php echo @$tanggal ?>" required>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Faktur Penjualan</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="faktur" name="faktur" value="<?php echo @$faktur ?>" readonly>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Kode Member</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="member" name="member" value="<?php echo @$member ?>" readonly>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Nama Member</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="nama" name="nama" value="<?php echo @$nama ?>" readonly>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Jumlah Piutang</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="piutang" name="piutang" value="<?php echo @$piutang ?>" readonly>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Sisa</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="sisa" name="sisa" value="<?php echo @$sisa ?>" readonly>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Jumlah Bayar</label>
            <div class="col-sm-9">
                <input type="number" class="form-control" id="bayar" name="bayar" autofocus required>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-3 col-form-label">Keterangan</label>
            <div class="col-sm-9">
                <textarea class="form-control" id="keterangan" name="keterangan"></textarea>
            </div>
        </div>
    </div>
    <input type="hidden" name="id" id="id" value="<?php echo @$id ?>">
    <div class="modal-footer right-content-between">
        <button type="submit" class="btn bg-gradient-success"><i class="fa fa-save"></i> Bayar</button>
        <button type="button" class="btn bg-gradient-danger" data-dismiss="modal"><i class="fa fa-times"></i> Batal</button>
    </div>
</div>