<div class="row">
    <div class="container">

        <h3>فاتورة المبيعات والمشتريات</h3>
        <hr/>
        <form class="form-horizontal" role="form">
            <div class="row">
                <div class="col-lg-8">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">رقم الفاتورة</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control" placeholder="رقم الفاتورة">
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group">
                        <label class="col-lg-2 control-label">تاريخ الفاتورة</label>
                        <div class="col-lg-4">
                            <input type="text" class="form-control awdatepicker" autocomplete="off"  data-date-format="dd-mm-yyyy" placeholder="تاريخ الفاتورة">
                        </div>
                    </div><!-- end of form-group-->
                </div><!-- end of bill no-->

                <div class="col-lg-4">
                    <div class="form-group mg-bt5">
                        <label class="col-lg-4 control-label">اسم العميل</label>
                        <div class="col-lg-8">
                            <input type="hidden" class="select2ajax wdt100" />
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-4 control-label">رصيد الدين</label>
                        <div class="col-lg-8">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-4 control-label">نوع السعر</label>
                        <div class="col-lg-8">
                            <select class="form-control">
                                <option>عادى</option>
                                <option>مباشر</option>
                            </select>
                        </div>
                    </div><!-- end of form-group-->
                    <hr class="mg-bt5 mg-tp5"/>
                    <div class="form-group mg-bt5">
                        <label class="col-lg-4 control-label">المخزن</label>
                        <div class="col-lg-8">
                            <input type="hidden" class="select2ajax wdt100" />
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-4 control-label">اسم {if $Programsettingdata->delegate_seller eq 0} بائع {elseif $Programsettingdata->delegate_seller == 1}مندوب {elseif $Programsettingdata->delegate_seller == 2}طبيب {/if}</label>
                        <div class="col-lg-8">
                            <input type="hidden" class="select2ajax wdt100" />
                        </div>
                    </div><!-- end of form-group-->
                </div><!-- end of client info-->

            </div><!-- end of frist row-->

            <div class="row">
                <div class="row">
                    <hr/>
                    <div class="col-lg-6">
                        <h4>المبيعات</h4>
                    </div>
                    <div class="col-lg-6">
                        <button type="button" class="btn btn-primary pull-left ft-nor"> اضافة جديد</button>
                    </div>
                </div><!-- end of title row-->
                <div class="table-responsive">
                    <table class="table billtable table-bordered table-black">
                        <thead>
                            <tr>
                                <th class="wdt120">الباركود</th>
                                <th class="wdt120">اسم المنتج</th>
                                <th class="wdt240">ملاحظات</th>
                                <th class="wdt100n">الوحدة</th>
                                <th class="wdt100n">السعر</th>
                                <th class="wdt100n">العدد</th>
                                <th class="wdt100n">الخصم</th>
                                <th class="wdt100n">الاجمالى</th>
                                <th>حذف</th>

                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الباركود">
                                </td>
                                <td>
                                    <input type="hidden" class="select2ajax wdt100" />
                                </td>
                                <td>
                                    <textarea class="form-control txt-nonraduis" rows="1"></textarea>
                                </td>
                                <td><input type="hidden" class="select2ajax wdt100" /></td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="السعر">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="العدد">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الخصم">
                                </td>
                                <td><p class="form-control-static">15000 {$currency}</p></td>
                                <td>
                                    <button type="button" class="close flt-none" aria-hidden="true">&times;</button>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الباركود">
                                </td>
                                <td>
                                    <input type="hidden" class="select2ajax wdt100" />
                                </td>
                                <td>
                                    <textarea class="form-control txt-nonraduis" rows="1"></textarea>
                                </td>
                                <td><input type="hidden" class="select2ajax wdt100" /></td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="السعر">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="العدد">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الخصم">
                                </td>
                                <td><p class="form-control-static">15000 {$currency}</p></td>
                                <td>
                                    <button type="button" class="close flt-none" aria-hidden="true">&times;</button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <button type="button" class="btn btn-primary pull-left ft-nor"> اجمالى المبيعات <span class="badge wht-clo">514560</span></button>
            </div><!-- end of second row-->
            <div class="row">
                <div class="row">
                    <hr/>
                    <div class="col-lg-6">
                        <h4>مردودات المبيعات</h4>
                    </div>
                    <div class="col-lg-6">
                        <button type="button" class="btn btn-primary pull-left ft-nor"> اضافة جديد</button>
                    </div>
                </div><!-- end of title row-->
                <div class="table-responsive">
                    <table class="table billtable table-bordered table-black">
                        <thead>
                            <tr>
                                <th class="wdt120">الباركود</th>
                                <th class="wdt120">اسم المنتج</th>
                                <th class="wdt240">ملاحظات</th>
                                <th class="wdt100n">الوحدة</th>
                                <th class="wdt100n">السعر</th>
                                <th class="wdt100n">العدد</th>
                                <th class="wdt100n">الخصم</th>
                                <th class="wdt100n">الاجمالى</th>
                                <th>حذف</th>

                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الباركود">
                                </td>
                                <td>
                                    <input type="hidden" class="select2ajax wdt100" />
                                </td>
                                <td>
                                    <textarea class="form-control txt-nonraduis" rows="1"></textarea>
                                </td>
                                <td><input type="hidden" class="select2ajax wdt100" /></td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="السعر">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="العدد">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الخصم">
                                </td>
                                <td><p class="form-control-static">15000 {$currency}</p></td>
                                <td>
                                    <button type="button" class="close flt-none" aria-hidden="true">&times;</button>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الباركود">
                                </td>
                                <td>
                                    <input type="hidden" class="select2ajax wdt100" />
                                </td>
                                <td>
                                    <textarea class="form-control txt-nonraduis" rows="1"></textarea>
                                </td>
                                <td><input type="hidden" class="select2ajax wdt100" /></td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="السعر">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="العدد">
                                </td>
                                <td>
                                    <input type="text" class="form-control txt-nonraduis" placeholder="الخصم">
                                </td>
                                <td><p class="form-control-static">15000 {$currency}</p></td>
                                <td>
                                    <button type="button" class="close flt-none" aria-hidden="true">&times;</button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <button type="button" class="btn btn-primary pull-left ft-nor"> اجمالى  مردودات المبيعات <span class="badge wht-clo">514560</span></button>
            </div><!-- end of third row-->

            <div class="row">
                <div class="col-lg-9">
                    <div class="form-group mg-bt5">
                        <label class="col-lg-1 control-label">المدفوع</label>
                        <div class="col-lg-3">
                            <input type="text" class="form-control" placeholder="قيمة الخصم">
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-1 control-label">الباقى</label>
                        <div class="col-lg-3">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                </div><!-- end of calucation center-->
                <div class="col-lg-3">
                    <hr/>
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">الاجمالى العام</label>
                        <div class="col-lg-7">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">نوع الخصم</label>
                        <div class="col-lg-7">
                            <select class="form-control">
                                <option>عادى</option>
                                <option>مباشر</option>
                            </select>
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">قيمة الخصم</label>
                        <div class="col-lg-7">
                            <input type="text" class="form-control" placeholder="قيمة الخصم">
                        </div>
                    </div><!-- end of form-group-->
                    <hr class="mg-tp5 mg-bt5"/>
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">الصافى</label>
                        <div class="col-lg-7">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">المدفوع</label>
                        <div class="col-lg-7">
                            <input type="text" class="form-control" placeholder="قيمة الخصم">
                        </div>
                    </div><!-- end of form-group-->
                    <hr class="mg-tp5 mg-bt5"/>
                    <div class="form-group mg-bt5 bg-yel">
                        <label class="col-lg-5 control-label">المتبقى</label>
                        <div class="col-lg-7">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                    <div class="form-group mg-bt5">
                        <label class="col-lg-5 control-label">باقى الدين</label>
                        <div class="col-lg-7">
                            <p class="form-control-static">15000 {$currency}</p>
                        </div>
                    </div><!-- end of form-group-->
                </div><!-- end of totals center-->
            </div><!-- end of fourth row-->

            <div class="row">
                <button type="button" class="btn btn-primary">حفظ</button>
                <button type="button" class="btn btn-success">حفظ وجديد</button>
                <button type="button" class="btn btn-info">طباعة</button>
            </div><!-- end of fifth row-->

        </form>
    </div><!-- end of container-->
</div><!-- end of main row-->