<div class="modal fade bs-modal-lg" id="edit-promotion" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-dm modal-lg" style="width: 90%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h3>Edit Promotion</h3>
            </div>
            <br />
            <form class="form-horizontal" role="form" action="{{route('payment-promotion.update')}}" method="post" id="promotion-form">
                @csrf
                <div class="row col-sm-12" style="margin-top: 10px;">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-4 required control-label">Name</label>
                            <div class="col-sm-8">
                                <input type="hidden" name="id" class="form-control" id="promotion-id" required>
                                <input type="text" name="name" class="form-control" id="promotion-name-edit" required>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-4 required control-label">Type</label>
                            <div class="col-sm-8">
                                <select name="promotion_type" class="form-control select2" id="promotion-type-edit">
                                    
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row col-sm-12" id="date-duration-edit">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-4 required control-label">From Date</label>
                            <div class="col-sm-8">
                                <input type="text" name="from_date" id="promotion-form-date-edit" class="form-control date_picker" required>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="col-sm-4 required control-label">To Date</label>
                            <div class="col-sm-8">
                                <input type="text" name="to_date" id="promotion-to-date-edit" class="form-control date_picker" required>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row col-sm-12">
                    <table class="table table-striped table-bordered" id="edit-promotion-table" style="margin-left: 10px;">
                        <thead>
                        <tr>
                            <th>Product Name</th>
                            <th>Brand</th>
                            <th>Unit Cost($)</th>
                            <th>Qty</th>
                            <th>Amount($)</th>
                            <th>Qty Used</th>
                            <th width="30%">Description</th>
                            <th>Action</th>
                        </tr>
                        </thead>
                        <tbody class="resultbody">
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="button_danger"><i class="fa fa-close"></i> No</button>
                    <button type="submit" class="button_success" data-toggle="modal"><i class="fa fa-save"></i> Save</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>