
<style>
    .height {
        min-height: 200px;
    }

    .icon {
        font-size: 47px;
        color: #5CB85C;
    }

    .iconbig {
        font-size: 77px;
        color: #5CB85C;
    }

    .table > tbody > tr > .emptyrow {
        border-top: none;
    }

    .table > thead > tr > .emptyrow {
        border-bottom: none;
    }

    .table > tbody > tr > .highrow {
        border-top: 3px solid;
    }
    .newoption {
        background-color: #CCCCCC !important;
        font-weight: bold !important;
    }
    .tb_comp_total{
        width: 32%;
    }
    .radio{
        margin-top: -2px;
        margin-bottom: 4px;
    }
    .totalvalue{
        width: 50px;
    }
    .totaltxt{
        width: 150px;
    }
    .headercolorx{
        background: #808080;
        color: #fff;
    }
</style>

<input name="img_val1" type="hidden" value=""  id="img_val1"/>
<div id="noradiv" style="text-align: right !important;"> 

 
<div class="container comp_mant">
    <form action="billreceptprintController.php?do=editprint&id={$allrecept->id}" target="_new" method="post" id="">
    <input name="img_val" type="hidden" value=""  id="img_val"/>
   
        <div class="row">
            <div class="col-lg-12">
                <div class="text-center">
                    <!--<ol class="breadcrumb">
                        <li><a href="#">إدارة الفواتير</a></li>
                        <li><a href="#">فاتورة الاستلام</a></li>
                        <li class="active">تعديل فاتورة</li>
                    </ol>-->
                </div>
                <hr>
                <div class="row noprint">
                    <div class="col-xs-12 col-md-3 col-lg-3 ">
                        <div class="panel panel-default ">
                            <div class="panel-heading headercolorx">
                                بيانات الفاتوره
                            </div>
                            <input type="hidden" name="totalship" id="totalship" value="{$allrecept->shipcost}">
                            <input type="hidden" name="receptstatus" id="receptstatus" value="{$allrecept->status}">
                            <div class="panel-body">
                                <label class="aw_lb comp_width"><div class="aw_label pull-right">رقم الايصال :  </div>
                                <input name="receptnumber" class="comp_info_width pull-left"  type="text" tabindex="1" value="{$allrecept->receiptserial}" readonly="readonly" style="background-color:#999999"/>
                                   <!-- <input name="receptnumber" class="comp_info_width pull-left" type="number" tabindex="1" value="{$todayx}" required/>-->
                                </label>
                                <label class="aw_lb comp_width"><div class="aw_label pull-right">رقم مستندى :   </div>
                                    <input name="documentnumber" class="comp_info_width pull-left" type="text" tabindex="2" value="{$allrecept->documentid}" readonly="readonly"/>
                                </label>
                            </div>
                        </div>
                    </div>
                     <input type="hidden" id="receptid" name="receptid"  value="{$allrecept->id}"  />
                    <div class="col-xs-12 col-md-3 col-lg-3 pull-left">
                        <div class="panel panel-default ">
                            <div class="panel-heading headercolorx">بيانات الفاتوره</div>
                            <div class="panel-body">
                                <label class="aw_lb comp_width"><div class="aw_label pull-right">تاريخ الايصال :  </div>
                                    <input type="text" name="receptdate" required class="comp_info_width pull-left " data-date-format="yyyy-mm-dd" value="{$allrecept->receiptdat}" readonly="readonly" placeholder="تاريخ الفاتورة"  tabindex="3"/>
                                </label>
                                <label class="aw_lb comp_width"><div class="aw_label pull-right">اسم العميل :  </div>
                                <div id="clientIdDiv">
                                    <select name="comp_client" id="comp_client" data-placeholder="اختر العميل"  class="select2 comp_info_width pull-left"  tabindex="4" disabled="disabled">
                                        <option value=""></option>
                                        <option value="-2" class="newoption">إضافة عميل جديد</option>
                                        
                                        {foreach $clientsData as $data}
                                        	<option value="{$data->clientid}" {if {$allrecept->clientid} eq {$data->clientid}} selected {/if}>{$data->clientname}</option>
                                        {/foreach}
                             
                                    </select>
                                    </div>
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
