<style type="text/css">
.myTable { border-collapse:collapse; }
.myTable th {color:white;width:50%; }
.myTable td, .myTable th { padding:5px;border:1px solid #000; }
</style>
<script type="text/javascript">
setTimeout(function(){
window.print();
window.close();
}
,2000)
</script>


<table class="myTable" style=" border: 1px" border="1|0" dir="rtl">
<thead>

	<tr>
		<td width="10%" rowspan="3'" style="text-align: center;border-left: 1px solid #dddddd;">
		<img src="../upload/upload/upload1549822864356.jpg" width="135" alt="">
		</td>

		<td class="lth" colspan="6" style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('curriculum-academy') ?>
		</td>
	</tr>

	<tr class="lth">
		<td colspan="6" style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;">alkiam.academy@gmail.com
		</td>
	</tr>

	<tr class="lth">
		<td colspan="6" style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"> <?php echo $this->lang->line('phone') ?>24801966 - <?php echo $this->lang->line('ext') ?>   121   /<?php echo $this->lang->line('mobile') ?> 97222488 - 97205203
		</td>
	</tr>

	<tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('name-the-customer') ?></td>
		<td style="text-align:right;">
                    <?=$show['name']?>
                </td>
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('mobile-number') ?> </td>
		<td colspan="4" style="text-align:right;"></td>
	</tr>

  <tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('invoice-number') ?> </td>
		<td style="text-align:right;"> <?=$show['id']?></td>

		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('invoice-details') ?></td>
		<td colspan="4" style="text-align:right;"> <?=$show['name_order']?></td>
  </tr>

  <tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('start-date') ?> </td>
		<td style="text-align:right;"><?=$show['start_date']?></td>

		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"> <?php echo $this->lang->line('expiry-date') ?> </td>
		<td style="text-align:right;"><?=$show['expiry_date']?></td>

		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('invoice-number') ?> </td>
		<td style="text-align:right;"><?=$show['date_now']?></td>
	</tr><tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('invoice-number') ?> </td>
		<td style="text-align:right;" colspan="5"><?=$show['discount_remainder']?></td></tr>
  <tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('invoice-number') ?> </td>
		<td colspan="5" style="width: 80%;text-align:right;"><span style="color:#0c9824"><?php if($show['paid']=='')echo '<span class="label label-danger">'. $this->lang->line('not-paid').'</span>'; 
             
             
             if($show['paid']=='1')echo '<span class="label label-success">'. $this->lang->line('payment-is-made').'</span>';
             
                     if($show['paid']=='3')echo '<span class="label label-warning">'. $this->lang->line('complimentary').'</span>';
                             if($show['paid']=='4')echo '<span class="label label-primary">'.$this->lang->line('retriever').'</span>';
             
             ?></span></td>
	</tr>

	<tr class="lth">
		<td style="width: 15%;padding-right: 30px;font-family:GE SS;text-align:right;"><?php echo $this->lang->line('terms-and-conditions') ?></td>
		<td colspan="5" style="width: 80%;width: 80%;text-align:right;">1-  <?php echo $this->lang->line('god-almighty-strengthens-and-monitors-it') ?> . 2-<?php echo $this->lang->line('commitment-to-ethics-with-colleagues') ?> <?php echo $this->lang->line('and-trainers') ?><br>3-  <?php echo $this->lang->line('commitment-to-islamic-dress') ?>.4-  <?php echo $this->lang->line('pay-the-fees-regularly') ?><br>5 -  <?php echo $this->lang->line('absence-with-an-excuse') ?>. 6 -  <?php echo $this->lang->line('commitment-in-attendance') ?>.
</td>
	</tr>


</thead></table>

