<div class="row">
	<div class="form-group col-lg-12">
		<label>ID</label>
		<div class="input-group">
			<input type="text" class="form-control" value="<?php echo $target->id; ?>" id="data-id-<?php echo e($target->id); ?>" readonly>
			<div class="input-group-append">
				<button class="btn btn-dark" type="button" onclick="copy('data-id-<?php echo e($target->id); ?>')"><i class="fa fa-copy fa-fw"></i> Salin</button>
			</div>
		</div>
	</div>
	<div class="form-group col-lg-6">
		<label>Tanggal/Waktu Dibuat</label>
		<span class="form-control">
			<?php echo e(\Carbon\Carbon::parse($target->created_at)->translatedFormat('d F Y - H:i')); ?>

			(<?php echo e(\Carbon\Carbon::parse($target->created_at)->diffForHumans()); ?>)
		</span>
	</div>
	<div class="form-group col-lg-6">
		<label>Tanggal/Waktu Diperbarui</label>
		<span class="form-control">
			<?php echo e(\Carbon\Carbon::parse($target->updated_at)->translatedFormat('d F Y - H:i')); ?>

			(<?php echo e(\Carbon\Carbon::parse($target->updated_at)->diffForHumans()); ?>)
		</span>
	</div>
	<div class="form-group col-lg-12">
		<label>Layanan</label>
		<div class="input-group">
			<input type="text" class="form-control" value="<?php echo $target->service == true ? $target->service->name : $target->service_name; ?>" id="data-service-<?php echo e($target->id); ?>" readonly>
			<div class="input-group-append">
				<button class="btn btn-dark" type="button" onclick="copy('data-service-<?php echo e($target->id); ?>')"><i class="fa fa-copy fa-fw"></i> Salin</button>
			</div>
		</div>
	</div>
	<div class="form-group col-lg-12">
		<label>Target</label>
		<div class="input-group">
			<input type="text" class="form-control" value="<?php echo $target->target; ?>" id="data-<?php echo e($target->id); ?>" readonly>
			<div class="input-group-append">
				<button class="btn btn-dark" type="button" onclick="copy('data-<?php echo e($target->id); ?>')"><i class="fa fa-copy fa-fw"></i> Salin</button>
			</div>
		</div>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Jumlah</label>
		<span class="form-control"># <?php echo e(number_format($target->quantity,0,',','.')); ?></span>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Harga</label>
		<span class="form-control">Rp <?php echo e(number_format($target->price,0,',','.')); ?></span>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Jumlah Awal</label>
		<span class="form-control"># <?php echo e(number_format($target->start_count,0,',','.')); ?></span>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Jumlah Sisa</label>
		<span class="form-control"># <?php echo e(number_format($target->remains,0,',','.')); ?></span>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Status</label>
		<span class="form-control"><?php echo status($target->status); ?></span>
	</div>
	<?php if($target->ip_address <> null): ?>
	<div class="form-group col-6 col-lg-6">
		<label>Alamat IP</label>
		<span class="form-control"><?php echo e($target->ip_address); ?></span>
	</div>
	<?php endif; ?>
	<?php if($target->location <> null): ?>
	<div class="form-group col-lg-12">
		<label>Informasi Perangkat</label>
		<span class="form-control" style="width: auto; height: auto; max-height: auto; overflow: auto;"><?php echo $target->location; ?></span>
	</div>
	<?php endif; ?>
	<div class="form-group col-6 col-lg-6">
		<label>Dipesan Melalui</label>
		<span class="form-control"><?php echo e(($target->is_api == '1') ? 'API' : 'Website'); ?></span>
	</div>
	<div class="form-group col-6 col-lg-6">
		<label>Pengembalian Dana</label>
		<span class="form-control"><?php echo e(($target->is_refund == '1') ? 'Ya' : 'Tidak'); ?></span>
	</div>
	<?php if($target->custom_comments <> ''): ?>
	<div class="form-group col-lg-12">
		<label>Komentar Khusus</label>
		<textarea class="form-control" rows="5" readonly><?php echo e($target->custom_comments); ?></textarea>
	</div>
	<?php endif; ?>
	<?php if($target->username <> ''): ?>
	<div class="form-group col-lg-12">
		<label>Username</label>
		<textarea class="form-control" rows="5" readonly><?php echo e($target->username); ?></textarea>
	</div>
	<?php endif; ?>
</div>
<script>
function copyInput() {
  	var copyText = document.getElementById("serial_number");
  	copyText.select();
  	document.execCommand("copy");
	Command: toastr["success"]("Teks disalin!", "Berhasil")
}
</script><?php /**PATH /home/glor5228/public_html/resources/views/user/order/detail.blade.php ENDPATH**/ ?>