<div class="tab-pane  " id="tabsc_6">
    <table>
        <thead>
            <tr>
                <th class="wds5">  NO</th>
                <th > stage</th>
                <th >   grade  </th>
                <th >   Media  </th>
                <th >   Oil  </th>
                <th >   Incubator  </th>
                <th >  Embryologist  </th>
            </tr>

        </thead>
        <tbody id="scoringTable">
            {assign var=myItra value=1}
            {foreach $scoring as $one_scoring}
            <tr>
                <td> {$myItra} </td>
                <td>
                    <select id="s_6_{$myItra}" class="form-control selectStage update_itemS" data-tableName="embryoscoring"  data-rowid="{$one_scoring->id}" name="stage6" select-tableName="stage" data-colName="stage6">
                        <option value="">choose</option>
                        {foreach  $stages as $one}
                        <option value="{$one->id}"{if $one_scoring->stage6 eq $one->id}selected{/if}>{$one->stage}</option>
                        {/foreach}

                        <option value="-2" class="deleteoptincompo">Delete</option>
                    </select>
                </td>
                <td>
                    <select id="g_6_{$myItra}" class="form-control selectGrade update_itemS" data-tableName="embryoscoring"  data-rowid="{$one_scoring->id}" name="grade6" select-tableName="grade" data-colName="grade6">
                        <option value="">choose</option>
                        {foreach  $grades as $one}
                        <option value="{$one->id}"{if $one_scoring->grade6 eq $one->id}selected{/if}>{$one->grade}</option>
                        {/foreach}

                        <option value="-2" class="deleteoptincompo">Delete</option>
                    </select>
                </td>

                <td>
                    <select  id="mediaSC6_{$one_scoring->id}"  class="form-control  update_itemS growthmedia select2Lab"   multiple
                             data-colName="media6" data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_media as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->media6}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>    
                </td>

                <td>
                    <select   id="oilSC6_{$one_scoring->id}"   class="form-control  update_itemS growthoil select2Lab"   multiple
                              data-colName="oil6" data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_oil as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->oil6}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>     
                </td>

                <td>
                    <select    id="incubatorSC6_{$one_scoring->id}"  class="form-control  update_itemS growthincubator select2Lab"   multiple 
                               data-colName="incubator6"   data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_incubator as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->incubator6}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>     
                </td>

                <td>
                    <select    id="embrologistSC6_{$one_scoring->id}"  class="form-control  update_itemS  select2Lab"   multiple 
                               data-colName="embrologist6"   data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_embrologist as $one}
                        <option value="{$one.id}"{if $one.id|in_array:$one_scoring->embrologist6}selected{/if}>{$one.name}</option>
                        {/foreach}
                    </select>     
                </td>
            </tr>
            {capture assign=myItra}{$myItra+1}{/capture}
            {/foreach}

        </tbody>
    </table>
</div>