<div class="row">
	<div class="form-group col-md-6">
		<label class="form-label">ID Pesanan</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $target->id ?></span>
	</div>
	<div class="form-group col-md-6">
		<label class="form-label">Pengguna</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $user->username ?></span>
	</div>
</div>

<div class="form-group">
	<label class="form-label">Nama Layanan</label>
	<span class="form-control" style="height: auto;" disabled="">
		<?= $target->service_id ?> — <?= $target->service ?></span>
</div>
<div class="form-group">
	<label class="form-label">Target</label>
	<span class="form-control" style="height: auto;" disabled="">
		<?= auto_link($target->target, 'both', TRUE) ?></span>
</div>
<?php if ($target->custom_comments <> '' or $target->custom_link <> '') { ?>
	<div class="form-group">
		<label class="form-label">Kustom Komentar</label>

		<textarea class="form-control"><?= $target->custom_comments ?></textarea>
	</div>
<?php } ?>
<div class="row">
	<div class="form-group col-md-4">
		<label class="form-label">Jumlah</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= currency($target->quantity) ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Jumlah Awal</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= currency($target->start_count) ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Jumlah Kurang</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= currency($target->remains) ?></span>
	</div>
</div>
<div class="row">
	<div class="form-group col-md-6">
		<label class="form-label">Harga</label>
		<div class="input-group">
			<div class="input-group-text">Rp</div>
			<span class="form-control" style="height: auto;" disabled=""><?= currency($target->price) ?></span>
		</div>
	</div>
	<div class="form-group col-md-6">
		<label class="form-label">Profit</label>
		<div class="input-group">
			<div class="input-group-text">Rp</div>
			<span class="form-control" style="height: auto;" disabled=""><?= currency($target->profit) ?></span>
		</div>
	</div>
</div>
<div class="row">
	<div class="form-group col-md-4">
		<label class="form-label">Status</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $this->lib->status_order($target->status) ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Asal</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= ($target->is_api == '1') ? 'API' : 'WEB'; ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Pengembalian Saldo</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= ($target->is_refund == '1') ? 'Ya' : 'Tidak'; ?></span>
	</div>
</div>
<div class="row">
	<div class="form-group col-md-6">
		<label class="form-label">Provider — PID</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $api->name ?> — <?= $target->api_order_id ?></span>
	</div>
	<div class="form-group col-md-6">
		<label class="form-label">IP Address</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $target->ip_address ?></span>
	</div>
</div>
<div class="row">
	<div class="form-group col-md-6">
		<label class="form-label">Log Pesan Provider</label>
		<textarea class="form-control"><?= $target->api_log_order ?></textarea>
	</div>
	<div class="form-group col-md-6">
		<label class="form-label">Log Status Provider</label>
		<textarea class="form-control"><?= $target->api_log_status ?></textarea>
	</div>
</div>
<div class="row">
	<div class="form-group col-md-4">
		<label class="form-label">Waktu Proses</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $this->lib->timeProcess($target->created_at, $target->updated_at) ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Tgl. Pemesanan</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $this->lib->Tanggal_indonesia($target->created_at) ?></span>
	</div>
	<div class="form-group col-md-4">
		<label class="form-label">Tgl. Pembaruan</label>
		<span class="form-control" style="height: auto;" disabled="">
			<?= $this->lib->Tanggal_indonesia($target->updated_at) ?></span>
	</div>
</div>