{if $case_summary == 1 }
<tr>
    <td class="wds16"> 
        <select  class="form-control  arttype arttypeExtra updateElement allupdateselect" data-val="" id="arttype{$itr}" data-itr="{$itr}"  name="arttype" select-tableName="phpastarttype" data-colName="arttype" data-id="{$phpastart_obj->id}" data-tableName="phpastart" >
            <option value="">choose</option>
            {foreach  $allphpastarttype as $myallphpastarttype}
            <option value="{$myallphpastarttype->id}" >{$myallphpastarttype->name} </option>
            {/foreach}
            <option value="-2" class="deleteoptincompo" >Delete</option>
        </select>
    </td>
    <td class="wds16"> 
        <select  class="form-control artcenter updateElement allupdateselect" data-val="" id="artcenter{$itr}" data-itr="{$itr}"  name="artcenter" data-colName="artcenter"  select-tableName="phpastartcenter"  data-id="{$phpastart_obj->id}" data-tableName="phpastart" >
            <option value="">choose</option>
            {foreach  $allphpastartcenter as $myallphpastartcenter}
            <option value="{$myallphpastartcenter->id}">{$myallphpastartcenter->name} </option>
            {/foreach}
            <option value="-2" class="deleteoptincompo">Delete</option>
        </select>
    </td>
    <td class="wds8"> 
        <input type="text" class="form-control updateElement" placeholder="Year" name="artyear" data-colName="artyear"  data-id="{$phpastart_obj->id}" data-tableName="phpastart"  />
    </td>
    <td class="wds25"> 
        <select  class="form-control result updateElement allupdateselect" id="result{$itr}" data-itr="{$itr}"  name="result" data-colName="result" data-id="{$phpastart_obj->id}" select-tableName="phpastartresult" data-tableName="phpastart" >
            <option value="">choose</option>
            {foreach  $artResult as $data}
            <option value="{$data->id}" >{$data->name} </option>
            {/foreach}
            <option value="-2" class="deleteoptincompo">Delete</option>
        </select>
    </td>
    <td>
        <input type="text" class="amrpop form-control updateElement" placeholder="Note" name="artnote" data-colName="artnote"  data-id="{$phpastart_obj->id}" data-tableName="phpastart"/>
    </td>
    <td class="wds5">
        <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="{$phpastart_obj->id}" 
           data-link="case_summary"  data-fn="del" data-tableName="phpastart" data-colName="del">
            <i class="fa fa-times"></i> </a>
    </td>
</tr>
{else}
<div>
    {if $ProgramesettingData->displaydoctorname eq 1}
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 ">{$username}</label>
            </div>
        </div>
    </div>
    {/if}
    <div class="row ltr" >
        <div class="col-md-2">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Type</label>-->
                <select  class="form-control  arttype arttypeExtra updateElement allupdateselect" data-val="" id="arttype{$itr}" data-itr="{$itr}"  name="arttype" select-tableName="phpastarttype" data-colName="arttype" data-id="{$phpastart_obj->id}" data-tableName="phpastart" >
                    <option value="">choose</option>
                    {foreach  $allphpastarttype as $myallphpastarttype}
                    <option value="{$myallphpastarttype->id}" >{$myallphpastarttype->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>


        <div class="col-md-2">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Center</label>-->
                <select  class="form-control artcenter updateElement allupdateselect" data-val="" id="artcenter{$itr}" data-itr="{$itr}"  name="artcenter" data-colName="artcenter"  select-tableName="phpastartcenter"  data-id="{$phpastart_obj->id}" data-tableName="phpastart" >
                    <option value="">choose</option>
                    {foreach  $allphpastartcenter as $myallphpastartcenter}
                    <option value="{$myallphpastartcenter->id}">{$myallphpastartcenter->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>


        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement" placeholder="Year" name="artyear" data-colName="artyear"  data-id="{$phpastart_obj->id}" data-tableName="phpastart"  />
                <!--                <label for="surgeon">Year</label>-->
            </div>
        </div>

        <div class="col-md-3">
            <div class="form-group">
                <!--                                                                    <label class="control-label col-md-2 ls2">Center</label>-->
                <select  class="form-control result updateElement allupdateselect" id="result{$itr}" data-itr="{$itr}"  name="result" data-colName="result" data-id="{$phpastart_obj->id}" select-tableName="phpastartresult" data-tableName="phpastart" >
                    <option value="">choose</option>
                    {foreach  $artResult as $data}
                    <option value="{$data->id}" >{$data->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>

        <div class="col-md-4">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text" class="amrpop form-control updateElement" placeholder="Note" name="artnote" data-colName="artnote"  data-id="{$phpastart_obj->id}" data-tableName="phpastart"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="{$phpastart_obj->id}" data-tableName="phpastart"><i class="fa fa-close"></i></button>
            </div>
        </div>

    </div>


    <div id="extraArt{$itr}"  style="display: none; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #aaa; ">
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Oocytes</th>
                                        <th>Fertilized</th>
                                        <th>Embryos</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Ovum Pick Up</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="ovdate" name="ovdate" data-colName="ovdate"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="oocytes" name="oocytes" data-colName="oocytes"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="fertilized" name="fertilized" data-colName="fertilized"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="ovembryos" name="ovembryos" data-colName="ovembryos"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Embryos</th>
                                        <th>Pregnancy Test</th>
                                        <th>U/S</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Embryo transfer</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="emdate" name="emdate" data-colName="emdate"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="emembryos" name="emembryos" data-colName="emembryos"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="pregrest" name="pregrest" data-colName="pregrest"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="us" name="us" data-colName="us"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Straw 1</th>
                                        <th>Straw 2</th>
                                        <th>Straw 3</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Freezing</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="freezdate" name="freezdate" data-colName="freezdate"   data-id="{$phpastart_obj->id}" data-tableName="phpastart" /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 1" name="straw1" data-colName="straw1"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 2" name="straw2" data-colName="straw2"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 3" name="straw3" data-colName="straw3"   data-id="{$phpastart_obj->id}" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>



    <div id="extraArtother{$itr}"  style="display: none; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #aaa; ">
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <tbody>
                    <tr>
                        <td class="col-md-2" style="padding: 0px !important;"><input type="text" class="form-control updatemyElement date-picker" placeholder="OPU" name="opu" data-colName="opu"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <td class="row" style="padding: 0px !important;">
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GII" name="gii" data-colName="gii"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  />
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GI" name="gi" data-colName="gi"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  />
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GV" name="gv" data-colName="gv"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  />
                        </td>
                        <td class="col-md-2" style="padding: 0px !important;"><input type="text" class="form-control updatemyElement date-picker" placeholder="ET" name="et" data-colName="et"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="ET" name="etf" data-colName="etf"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="Frozen" name="frozen" data-colName="frozen"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="B-HCG" name="bhcg" data-colName="bhcg"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="FHR" name="fhr" data-colName="fhr"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td>
                        <!--td class="col-md-3"><input type="text" class="form-control updatemyElement" placeholder="Notes" name="notes" data-colName="notes"   data-id="" data-pid="{$phpastart_obj->id}"  data-tableName="phpasticsi"  /></td-->
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

</div>
{/if}