

<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false"  
     id="detailsModal" style="min-width:500px;">
    <div class="modal-dialog  modal-lg wds50">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close closeDrug" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> {$orgObj.organization_name} - {$detectObj.detName} </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form class="form-horizontal" role="form" action="" method="post" id="gynaDrugs" enctype="multipart/form-data">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="portlet blue-hoki box">
                                    <div class="portlet-body">
                                        <table class="table table-striped table-hover table-bordered rtl" style="margin: 2%; width: 96%;">
                                            <tbody>
                                                <tr>
                                                    <th class="col-md-3">السعر الأصلى </th>
                                                    <td class="col-md-9">{$detectObj.detPrice}</td>
                                                </tr>

                                                <tr>
                                                    <th class="col-md-3" style="height: 32px;"> سعر التعاقد  </th>
                                                    <td class="col-md-9">
                                                        <input type="text" class="form-control updateElement"  data-colName="contract_price" 
                                                               data-tableName="organization_discount"    data-id="{$org_discount->id}"
                                                               value="{$org_discount->contract_price}">
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <th class="col-md-3"   style="height: 39px;">نوع  التحمل   </th>
                                                    <td class="col-md-9">
                                                        <div class="md-radio-inline">
                                                            <div class="md-radio">
                                                                <input type="radio" data-colName="discount_type"  name="discount_type" 
                                                                       data-tableName="organization_discount"   value="1"
                                                                       class="form-control updateElement"  id="discount_type1" 
                                                                       data-id="{$org_discount->id}"   {if $org_discount->discount_type  == 1}  checked   {/if} >
                                                                <label for="discount_type1">
                                                                    <span></span>
                                                                    <span class="check"></span>
                                                                    <span class="box"></span>
                                                                    نسبة %          </label>
                                                            </div>

                                                            <div class="md-radio">
                                                                <input type="radio" data-colName="discount_type"  name="discount_type" 
                                                                       data-tableName="organization_discount"   value="0"
                                                                       class="form-control updateElement"  id="discount_type0" 
                                                                       data-id="{$org_discount->id}"   {if $org_discount->discount_type  != 1}  checked   {/if} >
                                                                <label for="discount_type0">
                                                                    <span></span>
                                                                    <span class="check"></span>
                                                                    <span class="box"></span>
                                                                    قيمة         </label>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <th class="col-md-3" style="height: 32px;">نسبة التحمل   </th>
                                                    <td class="col-md-9">
                                                        <input type="text" class="form-control updateElement"  data-colName="patient_hold" 
                                                               data-tableName="organization_discount"    data-id="{$org_discount->id}"
                                                               value="{$org_discount->patient_hold}">
                                                    </td>
                                                </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn default" id="closemodel" data-dismiss="modal"> Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>






