
<div class="row">
  <div class="container">
    <ol class="breadcrumb">
      <li><a href="#"> الاشعارات</a></li>
      <li><a href="#">الشيكات </a></li>
      <li class="active">عرض الشيك</li>
    </ol>
    <div class="panel panel-default"> 
      <!-- Default panel contents -->
      <div class="panel-heading">
        <h3 class="panel-title">عرض شيك</h3>
      </div>
      <div class="panel-body">
      <form class="form-horizontal" role="form">
      {foreach $showdatacheck as $data}
      
      <div class="form-group">
          <label class="col-lg-2 control-label"> اسم البنك</label>
          <div class="col-lg-4"> {$data->bankName} </div>
        </div>
        
        <!--==============================-->
	{if $data->addType eq 0}
        <div class="form-group">
          <label class="col-lg-2 control-label">إسم العميل</label>
          <div class="col-lg-4">{$data->newclient->clientname}</div>
        </div>
       {else}
          <div class="form-group">
          <label class="col-lg-2 control-label">إسم المورد </label>
          <div class="col-lg-4"> {$data->newsupplier->suppliername} </div>
        </div>
        {/if} 
        
        <!--==============================-->
        
        <div class="form-group">
          <label class="col-lg-2 control-label">تاريخ  الاستلام</label>
          <div class="col-lg-4"> {$data->operationDate} </div>
        </div>
        
        <!--==============================-->
        
        <div class="form-group">
          <label class="col-lg-2 control-label">تاريخ الاستحقاق</label>
          <div class="col-lg-4"> {$data->dueDate} </div>
        </div>
        
        <!--==============================-->
        
        <div class="form-group">
          <label class="col-lg-2 control-label">القيمة</label>
          <div class="col-lg-4"> {$data->checkValue} </div>
        </div>
        
        <!--==============================-->

         <div class="form-group">
          <label class="col-lg-2 control-label">رقم الحساب </label>
          <div class="col-lg-4"> {$data->accountNo} </div>
        </div>
        
        <!--==============================-->
         
         <div class="form-group">
          <label class="col-lg-2 control-label">رقم الشيك </label>
          <div class="col-lg-4"> {$data->checkNo} </div>
        </div>
        
        <!--==============================-->
        
      {if $data->addType eq 0}  
        <div class="form-group">
          <label class="col-lg-2 control-label">تعليق</label>
          <div class="col-lg-4"> {$data->newclient->clientcomment} </div>
        </div>
        {else}
         <div class="form-group">
          <label class="col-lg-2 control-label">تعليق المورد </label>
          <div class="col-lg-4"> {$data->suppliercomment} </div>
        </div>
        {/if}
        {/foreach}
        <!--==============================--> 
    
        
   
        <!--==============================-->
        <div class="form-group">
          <div class="col-lg-offset-2 col-lg-4">
            <input type="button"  onClick="window.print() ;"  class="noprint btn btn-primary pull-left" value="طباعة"/>
          </div>
        </div>
     <div class="clearfix"></div>
     </form>
      </div>
    </div>
  </div>
</div>
