<?php $__env->startSection('content'); ?>
<section class="section">
          <div class="section-header">
            <h1>New order</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
              <div class="breadcrumb-item"><a href="/order">Order</a></div>
              <div class="breadcrumb-item">Pulsa & PPOB</div>
            </div>
          </div>

          <div class="section-body">
          
          	<div class="row">
          		<div class="col-md-7">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>Pulsa & PPOB</span></h4>
		              </div>
		              <form method="POST" action="">
		              	<?php echo csrf_field(); ?>
			              <div class="card-body">
			              	<?php if(session('success')): ?>
		                        <div class="alert alert-primary" role="alert">
		                            <i class="fa fa-check-circle"></i> <?php echo session('success'); ?>

		                        </div>
			              	<?php elseif(session('danger')): ?>
		                        <div class="alert alert-danger" role="alert">
		                            <i class="fa fa-exclamation-circle"></i> <?php echo session('danger'); ?>

		                        </div>
		                    <?php endif; ?>
		                    <?php if($errors->has('quantity')): ?>
			                    	<div class="alert alert-danger" role="alert">
			                            <i class="fa fa-exclamation-circle"></i> <?php echo e($errors->first('quantity')); ?>

			                        </div>
							<?php endif; ?>
			                <div class="form-group">
		                      <label>Kategori</label>
		                      <select class="form-control select2" id="category_pulsa">
		                        <option>Pilih salah satu..</option>
		                        <?php $__currentLoopData = $cat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data_category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		                        	<option value="<?php echo e($data_category->id); ?>"><?php echo e($data_category->name); ?></option>
		                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		                      </select>
		                    </div>
			                <div class="form-group">
		                      <label>Operator</label>
		                      <select class="form-control select2" id="operator_pulsa" name="service">
		                        <option value="">Pilih kategori terlebih dahulu</option>
		                      </select>
		                    </div>
			                <div class="form-group">
		                      <label>Layanan</label>
		                      <select class="form-control select2" id="service_pulsa" name="service">
		                        <option value="">Pilih operator terlebih dahulu</option>
		                      </select>
		                    </div>
		                    <div id="information">
			                    
		                    </div>
			                <div class="form-group">
		                      <label>Nomor telepon tujuan 	</label>
		                      <input type="text" class="form-control" name="target" id="tujuan">
		                    </div>
		                    <div class="form-group" id='pln' style='display:none'>
		                      <label>Nomor Meter PLN 	</label>
		                      <input type="text" class="form-control" name="pln" id="plninput">
		                    </div>
		                    
		                    <input type="hidden" name="price" id="price">
			                <div class="form-group">
		                      <label>Total Price</label>
		                      <input type="number" class="form-control" id="total" readonly >
		                    </div>
			              </div>
			              <div class="card-footer text-right">
			                <button type="submit" class="btn btn-primary">Submit</button>
			              </div>
		              </form>
		            </div>
          		</div>
          		<div class="col-md-5">
          			<div class="card">
          				<div class="card-header">
          					<h4><span>Cara Pemesanan</span></h4>
          				</div>
          				<div class="card-body">
          					<ol>
          						<li>Pilih kategori terlebih dahulu</li>
          						<li>Pilih layanan yang ingin digunakan</li>
          						<li>Masukkan target sesuai aturan. Instagram followers menggunakan username, Selengkapnya: <a href="">Cara memasukkan target</a></li>
          						<li>Masukkan jumlah yang ingin dipesan</li>
          						<li>Tekan tombol submit dan pesanan anda akan segera diproses</li>
          					</ol>
          				</div>
          			</div>
          		</div>
          	</div>
            
          </div>
        </section>




<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Berkc\OneDrive\Masaüstü\smm\zoopedia-master\resources\views\order\pulsa\new.blade.php ENDPATH**/ ?>