

<?php $__env->startSection('content'); ?>
<!-- Begin Page Content -->
<div class="container-fluid">

    <!-- Page Heading -->
    <div class="d-sm-flex align-items-center justify-content-between mb-4">
        <h1 class="h3 mb-0 text-gray-800">Edit Status Transaksi <?php echo e($item->title); ?></h1>
    </div>
    
<?php if($errors -> any()): ?>
    <div class="alert alert-danger">
        <ul>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
    
<?php endif; ?>

    <div class="card shadow">
        <div class="card-body">
            <form action="<?php echo e(route('transaction.update', $item->id)); ?>" method="POST">
                <?php echo method_field('PUT'); ?>
            <?php echo csrf_field(); ?>
            <div class="form-group">
                <label for="transaction_status">Status</label>
                <select name="transaction_status" required class="form-control">
                    <option value="<?php echo e($item->transaction_status); ?>">
                        JANGAN DIUBAH <?php echo e($item->transaction_status); ?>

                    </option>
                    <option value="IN_CART">IN CART</option>
                    <option value="PENDING">PENDING</option>
                    <option value="SUCCESS">SUCCESS</option>
                    <option value="CANCEL">CANCEL</option>
                    <option value="FAILED">FAILED</option>
                </select>

            </div>
            <button type="submit" class="btn btn-primary btn-block">
                Simpan
            </button>
        </form>
        </div>
    </div>


</div>
<!-- /.container-fluid -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ahaymyid/ahaytravel/resources/views/pages/admin/transaction/edit.blade.php ENDPATH**/ ?>