
<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" action="assetController.php?do=update" method="post" >
          <!--validate the form before checking name-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">إسم الأصل</label>
            <div class="col-lg-4"> {$loadData->assetsName} </div>
          </div>
          
          <!--==============================-->
          <div class="form-group">
            <label class="col-lg-2 control-label">نوع الأصل</label>
            <div class="col-lg-4"> {foreach $allctadata as $mycat}
              {if {$loadData->assetscatid} eq {$mycat->assetscatid}} {$mycat->cattitel} {/if}
              {/foreach} </div>
          </div>
          
          
              
          <div class="form-group">
            <label class="col-lg-2 control-label">تصنيعى </label>
            <div class="col-lg-4"> {if {$loadData->manufacture} eq 0} نعم {else} لا {/if} </div>
          </div>
          
          <!--==============================-->
          
          
          <div class="form-group">
            <label class="col-lg-2 control-label">سعر الأصل</label>
            <div class="col-lg-4"> {$loadData->assetsValue} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">نسبة الإهلاك</label>
            <div class="col-lg-4"> {$loadData->assetsDepreciation} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">مجمع الإهلاك</label>
            <div class="col-lg-4"> {$loadData->depreciation} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">وصف الأصل</label>
            <div class="col-lg-4"> {$loadData->assetsDescription} </div>
          </div>
          
          <!--==============================--> 
          
          {if {$type} eq "2"}
          <div class="form-group">
            <label class="col-lg-2 control-label">إسم البنك</label>
            <div class="col-lg-4"> {$showData ->bankname} </div>
          </div>
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">إسم الحساب </label>
            <div class="col-lg-4"> {$showData ->accountname} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">رقم الحساب</label>
            <div class="col-lg-4"> {$showData->accountnumber} </div>
          </div>
          
          <!--==============================-->
          <div class="form-group">
            <label class="col-lg-2 control-label">رصيد سابق</label>
            <div class="col-lg-4"> {$showData ->accountbeforevalue} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">رقم الشيك</label>
            <div class="col-lg-4"> {$showData ->checkwithdrawalnumber} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">إسم المستفيد</label>
            <div class="col-lg-4"> {$showData ->checkwithdrawaluser} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">المبلغ المدفوع</label>
            <div class="col-lg-4"> {$showData ->checkwithdrawalamount} </div>
          </div>
          
          <!--==============================-->
          
          <div class="form-group">
            <label class="col-lg-2 control-label">تفاصيل أخرى</label>
            <div class="col-lg-4"> {$showData ->checkwithdrawalnote} </div>
          </div>
          
          <!--==============================--> 
          {/if}
          <div class="form-group">
            <div class="col-lg-offset-2 col-lg-4">
              <button type="button"  onClick="window.print() ;" class="btn btn-primary pull-left noprint">طباعة</button>
            </div>
          </div>
          <div class="clearfix"></div>
        </form>
      </div>
      <!--panel-body--> 
    </div>
    <!--panel--> 
  </div>
  <!--container--> 
</div>
<!--row--> 
