{if $tablename == "eprep"}

<tr class="roweprep{$id}">
   <td  width="7%" >
      <input type="text"    name="eprepcd" data-id="{$id}" data-table="eprep" class="form-control digitsOnly newcd2"  data-datename="eprepdate" />
   </td>
   <td  width="8%" >
      <input type="text"    name="eprepdate" data-id="{$id}" data-table="eprep" id="eprepdate_{$id}" class="form-control datepicker eprepdate" readonly="" />
   </td>
   <td  width="7%" >
      <input type="text"   name="eprepttt" data-id="{$id}" data-table="eprep" class="form-control" />
   </td>
   <td ><input class="form-control digitsOnly"  type="text"   name="eprepe" data-id="{$id}" data-table="eprep" ></td>
   <td  width="7%" >
      <input type="text"    name="eprepro" data-id="{$id}" data-table="eprep" class="form-control" />
   </td>
   <td  width="7%" >
      <input type="text"   name="epreplo" data-id="{$id}" data-table="eprep" class="form-control" />
   </td>
   <td  width="7%" >
      <input type="text"    name="eprepcancel" data-id="{$id}" data-table="eprep" class="form-control" />
   </td>
   <td  width="7%" >
      <input type="text"   value="" name="cdlps" data-id="{$id}" data-table="eprep" class="form-control" />
   </td>
   <td  width="20%">
      <select  class="form-control getselectajax2 epreplps" name="epreplps" data-id="{$id}"  data-table="eprep"  data-celtable="epreplps" id="epreplps{$id}" data-selid="{$id}" >
      </select>
   </td>
   <td  width="7%" >
      <input type="text"  name="thawingdate" data-id="{$id}" data-table="eprep" class="form-control datepicker" />
   </td>
   <td ><input class="form-control digitsOnly"  type="text"     name="thawingstn" data-id="{$id}" data-table="eprep" ></td>
   <td ><input class="form-control digitsOnly"  type="text"      name="thawingen" data-id="{$id}" data-table="eprep" ></td>
   <td width="5%">
                                     <a class="btn grey-cascade btn-xs deleterow" data-id="{$id}"  data-table="eprep">
                                         <i class="fa fa-close"></i>
                                     </a>
                                 </td>
</tr>
  {else}                            

 <tr class="rowovst{$id}">
                                <td  width="7%" >
                                    <input type="text"  name="ovstcdfh"   data-id="{$id}" id="ovstcdfh_{$id}"  data-table="ovst"  class="form-control digitsOnly newcd"  data-datename="ovstdate" />
                                 </td>
                                 <td  width="8%" >
                                    <input type="text"  name="ovstdate" data-id="{$id}"  data-table="ovst"  id="ovstdate_{$id}"  class="form-control datepicker" readonly="" />
                                 </td>
                                 <td  width="7%" >
                                    <input type="text"  name="ovstag" data-id="{$id}"  data-table="ovst"  class="form-control" />
                                 </td>
                                 <td  width="7%" >
                                    <input type="text"  name="ovsthmg" data-id="{$id}"  data-table="ovst"  class="form-control" />
                                 </td>
                                 <th   colspan="1" style="background: #a2b6f8;padding: 0px">
                                    <table style="width: 100%;margin-bottom: 0px;">
                                       <tr style="height: 31px;">
                                          <th  width="8%" >
                                             R
                                          </th>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfr" data-id="{$id}"  data-table="ovst"  class="form-control" />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfrrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstffrrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfffrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstffffrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstfffffr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstffffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstfrfffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstfrrffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstfrrffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          
                                       </tr>
                                       <tr style="height: 31px;">
                                          <th  width="8%" >
                                             L
                                          </th>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfrrrr" data-id="{$id}"  data-table="ovst"  class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdffrrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfffrrr" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdffffrr" data-id="{$id}"  data-table="ovst"  class="form-control " />
                                          </td>
                                          <td  width="8%" >
                                             <input type="text"  name="ovstdfffffr" data-id="{$id}"  data-table="ovst" class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstdffffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstdfrfffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstdfrrffff" data-id="{$id}"  data-table="ovst"  class="form-control " />
                                          </td>
                                          <td  width="7%" >
                                             <input type="text"  name="ovstdfrrffff" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                          </td>
                                          
                                       </tr>
                                    </table>
                                 </th>
                                 <td  width="7%" >
                                    <input type="text"  name="eovst" data-id="{$id}"  data-table="ovst"   class="form-control " />
                                 </td>
                                 <td  width="7%" >
                                    <input type="text"  name="eeovst" data-id="{$id}"  data-table="ovst"   class="form-control digitsOnly" />
                                 </td>
                                 <td  width="7%" >
                                    <input type="text"  name="noteovst" data-id="{$id}"  data-table="ovst"  class="form-control" />
                                 </td>
                                 <td width="5%">
                                     <a class="btn grey-cascade btn-xs deleterow" data-id="{$id}"  data-table="ovst">
                                         <i class="fa fa-close"></i>
                                     </a>
                                 </td>
                              </tr>
{/if}