<div class="container">

    <div class="col-lg-6">
        <h4>بيانات الاقساط</h4>
    </div>
    <div class="table-responsive">
        <table class="table billtable table-bordered table-black ">
            <thead>
            <tr>
                <th class="wdt300">رقم الاقساط </th>
                <th class="wdt300">تاريخ الاقساط </th>
                <th class="wdt300">القيمه</th>

                <!--<th class="wdt50"></th>-->
            </tr>
            </thead>
            <tbody>
            {assign var=itr value=1}
            {foreach $installments_dates as $installment}
            <tr>

                <td>
                    <input type="text" class="form-control" name="installmentitr" readonly value="{$itr}" >
                </td>

                <td>
                    <input type="text" class="form-control"   value="{$installment.date}" readonly name="installment_payment_date_{$itr}" >
                </td>
                <td>
                    <input type="text" class="form-control" number="true" name="installment_payment_{$itr}" readonly data-itr="{$itr}" id="installment_payment_{$itr}"  value="{$installment.value}">
                </td>

            </tr>
            {capture assign=itr}{$itr+1}{/capture}
            {/foreach}
            </tbody>
        </table>

    </div>

</div>