
<input type="hidden"  name="inv_itr" id="inv_itr"   value="{$itr}"/>


<table class="table table-striped table-hover table-bordered" >
    <thead>
        <tr>
            <th>
                Investigation Name
            </th>
            <th class="col-md-5">
                Price 
            </th>
            <th class="col-md-1">
                Remove
            </th>
        </tr>
    </thead>
    <tbody >
        {assign var=i value=1}
        {foreach $invests as $data}
        <tr>
            <td>
                {$data.name}
            </td>
            <td>
                <input type="text" class="form-control positivefloat calcoffer" name="price{$i}" id="price{$i}"   value="{$data.price}"/>
                <input type="hidden"  name="invId{$i}"   value="{$data.investId}"/>
            </td>
            <td>
                <a class="btn grey-cascade btn-xs removeRow" style=" float: left; width: 100%;" href="#">
                    <i class="fa fa-close"></i>
                </a>
            </td>
        </tr> 
        {capture assign=i}{$i+1}{/capture}
        {/foreach}

    </tbody>
</table>


<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <td>
                Offer Total Price 
            </td>
            <td>
                <input type="text" class="form-control" name="totalPrice" id="totalPrice"  readonly  value=" {$totalPrice}" />
            </td>
        </tr>
    </thead>
</table>