<section class="content-header">
	<div class="container-fluid">
		<div class="row mb-2">
			<div class="col-sm-12">
				<h1>FORM PROSES PERBAIKAN - KASIR</h1>
			</div>

		</div>
	</div>
</section>

<div id="flash" data-flash="<?= $this->session->flashdata('success'); ?>"></div>


<!-- Main content -->
<section class="content">

	<div class="row">

		<?php foreach ($bmproses->result() as $am => $data) : ?>
			<div class="col-12 col-lg-6 col-sm-12 mt-1 ">
				<a href="<?= site_url('ssKasir/editBM/' . $data->id_sell) ?>" class="btn btn-block btn-lg <?= $data->sell_tgl == date('d / m / Y') ? 'btn-outline-primary' : 'btn-primary' ?> text-uppercase"> <?= $data->car_plat ?> : <?= $data->car_merek ?> <?= $data->car_model ?> <?= $data->car_th ?> : <?= $data->car_color ?>
				</a>
			</div>
		<?php endforeach ?>

	</div>
	<!-- 
	<div class="row">
		<div class="col-12 mt-2 ">
			<div class="card card-outline card-primary p-3">
				<form action="ssProses/addsell" method="post">
					<div class='row'>
						<div class="col-12 col-lg-3 col-sm-3 mt-2 ">
							<div class="input-group align-center">
								<div class="input-group-prepend">
									<span class="input-group-text"><i class="fas fa-calendar-alt"></i></span>
								</div>
								<input readonly="on" name="sell_tgl" type="text" class="form-control " value="<?php echo date('d / m / Y') ?>">
								<input readonly="on" name="sell_bln" type="hidden" class="form-control " value="<?php echo date('m / Y') ?>">
								<input readonly="on" name="sell_th" type="hidden" class="form-control " value="<?php echo date('Y') ?>">

							</div>
						</div>
						<div class="col-12 col-lg-6 col-sm-6 mt-2 text-bold fa-2x text-center text-primary ">
							SS AUTOSHOP
						</div>

						<div class="col-12 col-lg-3 col-sm-3 mt-2 ">
							<div class="input-group align-center">
								<div class="input-group-prepend">
									<span class="input-group-text"><i class="fas fa-file-invoice"></i></span>
								</div>
								<input readonly="on" type='text' class='form-control' name="invoice_no" value='<?= $invoice ?>'>
							</div>
						</div>

						<div class="col-12 col-lg-12 col-sm-12 mt-2 ">
							<hr class=" badge-primary mb-1 mt-2">
						</div>

						<div class="col-12 col-lg-12 col-sm-12 mt-2 ">

							<div class="row">
								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-file-invoice"></i> &nbsp;</span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="pel_nama" type="text" placeholder="Nama Pelangan">
									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-phone"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="pel_hp" type="text" placeholder="No. handpone">
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-12 col-lg-12 col-sm-12 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-map-marked-alt"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="pel_alamat" type="text" placeholder="alamat">
									</div>
								</div>
							</div>

							<hr class=" badge-primary mb-1 mt-2">


							<div class="row">

								<div class="col-12 col-lg-3 col-sm-3 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-car"></i> &nbsp;</span>
										</div>
										<input required value="" autocomplete="off" class="form-control text-uppercase" name="car_plat" type="text" placeholder="BM 1234 SS">

									</div>
								</div>

								<div class="col-12 col-lg-3 col-sm-3 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-car"></i> </span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" value="TOYOTA" name="car_merek" type="text" placeholder="Brand Mobil">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-car"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_model" type="text" placeholder="Model Mobil">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-car-side"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_modelcode" type="text" placeholder="Model Code">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-calendar-alt"></i> &nbsp;</span>
										</div>
										<select required class='form-control  ' name='car_th'>
											<option value=''>- Pilih Tahun Mobil -</option>
											<?php for ($y = date('Y'); $y >= 1990; $y--) { ?>
												<option value='<?= $y ?>'> <?= $y  ?></option>
											<?php } ?>
										</select>
									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-vote-yea"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_engine" type="text" placeholder="Engine">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-car-alt"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_volume" type="text" placeholder="Volume">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-crop-alt"></i> &nbsp;</span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_frameno" type="text" placeholder="Frame No">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-tint"></i> &nbsp; </span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_color" type="text" placeholder="Colour">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-cog"></i> &nbsp; </span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_axle" type="text" placeholder="Trans / Axle">

									</div>
								</div>

								<div class="col-12 col-lg-6 col-sm-6 mt-2 ">
									<div class="input-group align-center">
										<div class="input-group-prepend">
											<span class="input-group-text"><i class="fas fa-tachometer-alt"></i></span>
										</div>
										<input required autocomplete="off" class="form-control text-uppercase" name="car_odometer" type="text" placeholder="Odometer">

									</div>
								</div>

							</div>
						</div>
					</div>
					<button type="submit" class="btn btn-primary btn-lg w-100 mt-2">Proses Data kendaraan</button>
				</form>
			</div>
		</div>
	</div>
	-->
</section>