<?php if(session('success')): ?>
    <div style="color:green"><?php echo e(session('success')); ?></div>
<?php endif; ?>

<h1>Particulars</h1>

<p><a href="<?php echo e(route('particulars.create')); ?>">Create New Particular</a></p>

<?php if($particulars->isEmpty()): ?>
    <p>No particulars found.</p>
<?php else: ?>
    <ul>
        <?php $__currentLoopData = $particulars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li>
                <a href="<?php echo e(route('particulars.show', $p->id)); ?>"><?php echo e($p->particulars); ?></a>
                — <a href="<?php echo e(route('particulars.edit', $p->id)); ?>">Edit</a>
                <form action="<?php echo e(route('particulars.destroy', $p->id)); ?>" method="POST" style="display:inline">
                    <?php echo csrf_field(); ?>
                    <?php echo method_field('DELETE'); ?>
                    <button type="submit" onclick="return confirm('Delete this particular?')">Delete</button>
                </form>
            </li>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </ul>
<?php endif; ?>
<?php /**PATH C:\Users\startup sabbir\Desktop\jannat\accounting-system\resources\views/particulars/index.blade.php ENDPATH**/ ?>