<?php $__env->startSection('content'); ?>
    <div class="row">
      <div class="col-8">
        <div class="card">
          <div class="card-body">
            <div class="d-md-flex align-items-center">
              <div>
                <h4 class="card-title">Pemesanan</h4>
              </div>
            </div>
            <form method="POST" action="<?php echo e(route('admin.order')); ?>" enctype="multipart/form-data">
                <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?>
                <input type="hidden" name="id" value="<?php echo e($order->id); ?>">
                <div class="mb-3">
                    <label for="status" class="form-label">Status</label>
                    <select name="status" id="status" class="form-control" required>
                      <option value="">Silahkan Pilih</option>
                       <option value="0" <?php if($order->status == 0): ?>
                            selected
                        <?php endif; ?>>Sedang Di Proses</option>

                        <option value="1" <?php if($order->status ==1): ?>
                            selected
                        <?php endif; ?>>Sedang Dalam Perjalanan</option>

                        <option value="2" <?php if($order->status == 2): ?>
                            selected
                        <?php endif; ?>>Sedang Selesai </option>
                    </select>
                </div>
                <button type="submit" class="btn btn-primary rounded-2">Simpan</button>
            </form>
          </div>
        </div>
      </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp8\htdocs\pasar_nelayan_zaskia\resources\views/apps/admin/order/edit.blade.php ENDPATH**/ ?>