<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" 
     data-keyboard="false"   id="suppliesByCatModal" style="min-width:1000px;">
    <div class="modal-dialog  modal-lg wds95">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">  </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form class="form-horizontal" role="form" action="" method="post" id="gynaRay" enctype="multipart/form-data">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="portlet blue-hoki box">
                                    <div class="portlet-title">
                                        <div class="actions">
                                            <a href="javascript:;" class="btn btn-default btn-sm" id="suppByCat_add" data-catId="{$catId}">
                                                <i class="fa fa-plus"></i> Add New  </a>          
                                        </div>
                                    </div>

                                    <div class="portlet-body">

                                        <div class="row" style="padding-left: 9px;padding-top:5px;overflow-y: scroll;">


                                            <table class="table table-striped table-hover table-bordered" >
                                                <thead>
                                                    <tr>
                                                        <th>
                                                            Supplies
                                                        </th>
                                                        <th class="wds5">
                                                            Delete
                                                        </th>
                                                    </tr>
                                                </thead>
                                                <tbody id="suppByCatNew">
                                                    {foreach $supplies as $supply}
                                                    <tr>
                                                        <td>
                                                            <input type="text" class="form-control updateElement" 
                                                                   data-id="{$supply->id}"  data-colName="name"   id="supp{$supply->id}" 
                                                                   data-tableName="supplies"  value="{$supply->name}"/>
                                                        </td>
                                                        <td>
                                                            <a class="btn grey-cascade btn-xs deletemsgEX" data-id="{$supply->id}" 
                                                               style=" float: left;" href="#" data-link="addinvestigation" data-fn="del" 
                                                               data-tableName="supplies">
                                                                <i class="fa fa-close"></i>
                                                            </a>
                                                        </td>
                                                    </tr> 

                                                    {/foreach}
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>

