<meta charset="UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
<link rel="shortcut icon" href="{{context}}/static/img/logo-0.png">

<style>
	body{ 
			font-family:sans-serif;
			font-size:14px;
			font-weight:lighter;
	}
	.caption {
		font-size:22px;
	}
	.left { float:left}
	.small { font-family:verdana; font-size:11px;}
	table { border:1px solid #CAD5E0; 
		border-radius:8px;
		-webkit-border-radius:8px;	
		padding:4px;	
		
		margin:4px;
	}
	.action {
		cursor:pointer;
		padding:4px;
		padding-left:10px;
		padding-right:10px;
		border-radius:4px;
		-webkit-border-radius:4px;
		-moz-border-radius:4px;
		font-weight:bold;
		color:#4682b4;
		border:1px solid #CAD5E0
	}
	.action:hover { background-color:#4682b4; color:white}
	tr {font-family:sans-serif; font-size:14px;}
	td {padding:4px; font-weight:lighter}
	@media only screen and (min-device-width: 320px){
		table {width:99%}
		body {font-size:12px;}
		tr {font-family:sans-serif; font-size:12px;}
		td {padding:4px; font-weight:lighter}

	}	
	@media only screen and (min-device-width: 768px){
		body {font-size:12px}
		table {width:60%; margin-left:20%}
	}	
</style>
<body>
<div>
</div>
<br>
<div id="grid">
	<table align="center" style="border-color:transparent">
		<tr>
			<td style="width:50%">
				<div align="left" class="default"> 
					<img src="{{context}}/static/img/logo-0.png" style="width:48px; margin:4px" class="left" style="margin:4px"> 
					<div style="padding:8px">The Phi Technology
						<div class="small" style="text-transform:capitalize">{{ app_name }}</div>
					</div>
					</div>
				
				
			</td>
			<td class="small" valign="middle">
				
				<div>Call : 615-866-0454</div>
				<div>Email: support@the-phi.com</div>
			</td>
		</tr>
	</table>
	<table align="center" >
		<tr style="background-color:#f3f3f3">
			<td>Service</td>
			<td>Price /mo (USD)</td>
			<td>Status</td>

		</tr>
		{% for item in plans %}
		<tr class="default" >
			<td style="text-transform:capitalize"> 
				<div class="default">{{item.metadata.info|safe}} </div>
				
			</td>
			<td align="right"> {{item.amount/100}}  </td>
			<td style="text-transform:capitalize"> {{item.status}} </td>
			
		</tr>
		{% endfor %}
		<tr style="font-size:11px; ">
			<td align="right"></td>
			<td align="right" style="border-top:1px solid #CAD5E0"> Amount Due <span style="font-weight:bold">$ {{ total_amount }}</span></td>
			<td align="center" style="width:20%">
				
					
				
			</td>
	</table>
	<br>
	
</div>
</body>