@extends('layouts.print')

@section('title')
  Redeem Point
@endsection

@section('breadcrumb')
   @parent
   <li>redeempoint</li>
   <li>print</li>
@endsection

@section('content')
<style type="text/css">
   .duabelas {
   font-size: 12px;
   }
   .duapuluh {
   font-size: 20px;
   }
   .empatbelas {
   font-size: 14px;
   }
</style>

<h4>JM Reward Card</h4>
<center>
<h3>Redeem Point </h3>
</center>

<table>

<p class="duabelas">
  <tr><td><b>Redeem NO. &nbsp;&nbsp;</b></td><td><b>{{ $redeempoint->redeem_no }}&nbsp;&nbsp;&nbsp;</b></td><td><b>{{$status}}</b><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tanggal.&nbsp;</td><td>{{ tanggal_indonesia($redeempoint->redeem_tgl,false) }}			</td></tr>  
  <tr><td>Nama     		&nbsp;&nbsp; </td><td>{{ $member->mbr_nama }}			</td></tr>
  <tr><td>Member No. 	&nbsp;&nbsp; </td><td>{{ $member->mbr_no }}			</td></tr>

	<hr>
</table>

<table class="table table-striped">

<tr>

	<th width="60">NO.</th>
	<th width="400">DESKRIPSI</th>
	<th width="100" align="right">POINT</th>
	<th width="200">NO.VCR</th>
</tr>

@foreach($detail as $list)
	<tr><td align="center">{{ $no++ }}</td>
	<td>{{ $list->redeem_name }}</td>
	<td align="right">{{ number_format($list->redeem_point)}}</td>
	<td>{{ $list->vcr_no }}</td></tr>
@endforeach

<tr><td></td><td align="right"><b>Total Point</b></td><td align="right"><b>{{number_format($redeempoint->redeem_point) }}</b></td><td></td></tr>

</table>

<body>
<pre>
		     Admin                              TT. Member
		
		
		______________                       _________________
</pre>
</body>
</p>
@endsection