<?php include '__header.phtml'; ?>

<h2 class="page-header">Nieuwe overboeking</h2>

<div class="panel panel-default">
  <div class="panel-body">
	  <form method="post" action="" class="form-horizontal">
		  <div class="form-group">
		    <label for="van" class="col-sm-2 control-label">Van</label>
		    <div class="col-sm-10">
				<select name="van" class="form-control">
				<?php
              foreach ($rekeningen as $rekening) {
                  echo "<option value=" . $rekening['nr'] . ">" . $rekening['iban'] . "</option>\n";
              }
              ?>
				</select>
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="naar" class="col-sm-2 control-label">Naar (IBAN)</label>
		    <div class="col-sm-10">
		      <input name="naar" type="text" class="form-control" placeholder="NL00 INFO 0000 0000 00"></input>
		    </div>
		  </div>
		  <div class="form-group">
		    <br/>
		  </div>
		  <div class="form-group">
		    <label for="bedrag" class="col-sm-2 control-label">Bedrag</label>
		    <div class="col-sm-10">
    			<div class="input-group">
		      		<div class="input-group-addon">&euro;</div><input class="form-control" name="bedrag" type="decimal" placeholder=""></input>
				</div>
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="omschrijving" class="col-sm-2 control-label">Omschrijving (40 tekens)</label>
		    <div class="col-sm-10">
		      <textarea class="form-control" name="omschrijving" maxlength=40></textarea>
		    </div>
		  </div>
		  <div class="form-group">
		    <br/>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <button type="submit" class="btn btn-default">Overboeking bevestigen</button>
		    </div>
		  </div>
		</form>
	</div>
</div>

<?php include '__footer.phtml'; ?>
