<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model frontend\models\Accounts */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="accounts-form">
	<table class="Table accounts-form-table">
		<tr class="DarkerBlueC">
			<td Colspan="3">Account</td>
		</tr>
		<tr>
			<td Colspan="3"><?= $model->account_name ?></td>		
		</tr>
		<tr>
			<td class="DarkerBlueC">Address Line 1</td>
			<td><?= $model->address1 ?></td>
			<td width="50%"></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Address Line 2</td>
			<td><?= $model->address2 ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Town</td>
			<td><?=  $model->town ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">County</td>
			<td><?= $model->county ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Post Code</td>
			<td><?= $model->post_code ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Telephone No</td>
			<td><?= $model->telephone_no ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Fax No</td>
			<td><?= $model->fax_no ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Email</td>
			<td><?= $model->email ?></td>
			<td></td>
		</tr>
		<tr>
			<td class="DarkerBlueC">Status</td>
			<td><?= $model->status ?></td>	
			<td></td>
		</tr>
		<tr class="DarkerBlueC">
			<td colspan="4">NOTES</td></tr>
		<tr>
			<td colspan="4"><?= $model->notes ?></td>
		</tr>
	</table>
	<div class="col-6">Created at</div>
	<div class="col-6"><?= $model->created_at ?></div>
	<div class="form-group"><?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?></div>
</div>
