<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false" 
     id="calculatorModal" style="min-width:1000px;">
    <div class="modal-dialog  modal-lg wds40">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close endRooms" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title txtc"> </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  scroll_y showNum isheight">

                                        <table class="table table-striped table-hover table-bordered" style="direction: rtl;margin: 2%; width: 96%;">
                                            <caption>
                                                <a href="javascript:;"  id="newCalculation"
                                                   class="btn green-haze btn-block btn-xs fleft wds20">Add New    </a>
                                            </caption>
                                            <thead>
                                                <tr>
                                                    <th class="wds6">  </th>
                                                    <th class=" wds47 txtc">Concentration </th>
                                                    <th class=" wds47 txtc">PT Time</th>

                                                </tr>
                                            </thead>
                                            <tbody id="calculationContainer">
                                                {assign var=i value=1}
                                                {foreach $concentrations as $data}
                                                <tr>
                                                    <td><a class="delNew fa fa-times btn red fleft" data-colName="deleted"
                                                           data-link="reserve_clinic" 
                                                           data-tableName="pt_concentration" data-fn="del" data-id="{$data.id}" ></a>
                                                    </td>
                                                    <td>
                                                        <input type="text"  class="form-control updateInvest  positivefloat" 
                                                               data-id="{$data.id}"  data-tableName="pt_concentration" 
                                                               value="{$data.concentration}"  id="concentration_inr{$data.id}"  
                                                               data-colName="concentration"   >
                                                    </td>
                                                    <td>
                                                        <input type="text"  class="form-control updateInvest  positivefloat" 
                                                               data-id="{$data.id}"  data-tableName="pt_concentration" 
                                                               value="{$data.inr}"  id="inr_con{$data.id}"  data-colName="inr"   >
                                                    </td>


                                                </tr>
                                                {capture assign=i}{$i+1}{/capture}
                                                {/foreach}
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn default endCalculation" id="closemodel" data-dismiss="modal"> Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>