<?php


use yii\helpers\Html;
use kartik\widgets\ActiveForm;
use kartik\form\ActiveField;
use yii\helpers\ArrayHelper;
use kartik\widgets\TimePicker;
use kartik\widgets\DateTimePicker;
use kartik\widgets\DatePicker;
use yii\imagine\Image;
use modules\custom\models\Accounts;
use frontend\models\Attributesvalues;
/* @var $this yii\web\View */
/* @var $modal frontend\models\Accounts */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="accounts-form">

    <?php $form = ActiveForm::begin(['id' => 'account']); ?>


<table class="Table">
	<tr class="DarkerBlueC">
	<td Colspan="3">Account</td>
	</tr>
	<tr>
	<td Colspan="3">
    <?= $form->field($modal, 'Account_Name')->textInput(['maxlength' => 50])->label(false) ?>
	</td>		
	</tr>
	
	<tr>
	<td class="DarkerBlueC">Address Line 1</td>
		<td>
    <?= $form->field($modal, 'Address1')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
		<td width="50%"></td>
		
	</tr>
	<tr>
	<td class="DarkerBlueC">Address Line 2</td>
		<td>
    		<?= $form->field($modal, 'Address2')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	
	<tr>
	<td class="DarkerBlueC">Town</td>
		<td>
    		<?= $form->field($modal, 'Town')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	<tr>
	<td class="DarkerBlueC">County</td>
		<td>
    		<?= $form->field($modal, 'County')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	<tr>
	<td class="DarkerBlueC">Post Code</td>
		<td>
    		<?= $form->field($modal, 'Post_Code')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	<tr>
	<td class="DarkerBlueC">Telephone No</td>
		<td>
    		<?= $form->field($modal, 'Telephone_no')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>

	<tr>
	<td class="DarkerBlueC">Fax No</td>
		<td>
    		<?= $form->field($modal, 'Fax_no')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	<tr>
	<td class="DarkerBlueC">Email</td>
		<td>
    		<?= $form->field($modal, 'Email')->textInput(['maxlength' => 50])->label(false)?>		
		</td>
	<td></td>
	</tr>
	
	<tr>
	<td class="DarkerBlueC">Status</td>
	<td>
		<?= $form->field($modal, 'status')->dropDownList(Attributesvalues::formArray("status"), ['prompt' => 'Please Select'])->label(false)?>
	</td>	
   <td></td>
</tr>
<tr class="DarkerBlueC"><td colspan="4">NOTES</td></tr>
<tr><td colspan="4"> <?= $form->field($modal, 'notes')->textArea(['Rows'=>'6', 'Columns'=>'100'])->Label(false) ?></td></tr>
	
</table>
    <div class="form-group">
<?= Html::submitButton('Save', ['class' => 'btn btn-primary']) ?><a href="#" class="btn" data-dismiss="modal">Close</a>
    </div>
 <?php ActiveForm::end(); ?>
   
</div>
