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/5f76b7d6d861da359b66322fdc69c383.php


<?php $__env->startSection('content'); ?>

    <div class="row m-4">
        <div class="col-xs-6 col-sm-6 col-md-6 col-xl-6">
            <a href="<?php echo e(route('member.index')); ?>" class="btn btn-sm btn-primary">
                <i class="fal fa-arrow-left  mr-2"></i>
                <?php echo e(__('message.back')); ?>

            </a>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-xl-6">
            <a href="<?php echo e(route('member.show-print' , $id)); ?>?phone=<?php echo e($phone); ?>&name=<?php echo e($name); ?>" class="btn btn-info bg-info-800 float-right rounded-0">
                <i class="fal fa-print"></i>
                <?php echo e(__('message.print')); ?>

            </a>
        </div>
    </div>
    <div class="row ml-4">
        <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12 d-flex justify-between align-center">
            <div class="mt-4" style="width: 100%;">
                <div class="row">
                    <div class="col-xs-10 col-sm-10 col-md-10 col-xl-10">
                        <div class="mb-6 mt-5 text-center">
                            <h2 class="border-bottom border-info pb-2"><?php echo e(__('message.products list')); ?></h2>
                        </div>
                        <div class="form table-responsive">
                            <table class="table table-striped w-100 text-center">
                                <thead class="bg-fusion-400">
                                <tr>
                                    <th>#</th>
                                    <th><?php echo e(__('message.name')); ?></th>
                                    <th><?php echo e(__('message.sales price')); ?></th>
                                    <th><?php echo e(__('message.discount')); ?></th>
                                    <th><?php echo e(__('message.buy back')); ?></th>
                                    <th><?php echo e(__('message.user')); ?></th>
                                    <th><?php echo e(__('message.created at')); ?></th>
                                </tr>
                                </thead>
                                <tbody id="first">
                                <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr class="text-center border-bottom" data-toggle="collapse" href="#row<?php echo e($index); ?>" role="button" aria-expanded="false" aria-controls="row<?php echo e($index); ?>">
                                        <td><?php echo e($index + 1); ?></td>
                                        <td><?php echo e($product->name); ?></td>
                                        <td><?php echo e($product->sales_price); ?></td>
                                        <td><?php echo e($product->discount); ?></td>
                                        <td>
                                            <span class="badge <?php echo e($product->already_buy_back == 1 ? 'badge-success' : 'badge-danger'); ?>">
                                                <?php echo e($product->already_buy_back==1? __('message.yes'): __('message.no')); ?>

                                            </span>
                                        </td>
                                        <td>
                                            <a href="<?php echo e(route('users.show' , $product->user_id)); ?>" class="text-dark" title="<?php echo e(__('message.show user')); ?>">
                                                <?php echo e($product->user->name??''); ?>

                                            </a>
                                        </td>
                                        <td><?php echo e($product->created_at); ?></td>
                                    </tr>
                                    <tr class="border-bottom">
                                        <td colspan="8">
                                            <div class="collapse multi-collapse" id="row<?php echo e($index); ?>" data-parent="#first">
                                                <div class="panel-content">
                                                    <ul class="nav nav-tabs" role="tablist">
                                                        <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#detail<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.detail')); ?></a></li>
                                                        <?php if($product->description): ?>
                                                            <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#description<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.description')); ?></a></li>
                                                        <?php endif; ?>
                                                    </ul>
                                                    <div class="tab-content  border-top-0 p-3" style="border:1px solid #dee2e6!important; border-top:none !important;">
                                                        <div class="tab-pane fade show active" id="detail<?php echo e($loop->index); ?>" role="tabpanel">
                                                            <div class="">
                                                                <div class="card-body">
                                                                    <div class="row">
                                                                        <div class="col-xs-4 col-sm-4 col-md-4 col-xl-3">
                                                                            <?php if($product->image): ?>
                                                                                <img class="rounded" id="myImg<?php echo e($index); ?>" src="<?php echo e(asset($product->image)); ?>" style="width:200px;max-width:300px;cursor:pointer;">
                                                                            <?php else: ?>
                                                                                <img class="rounded" id="myImg<?php echo e($index); ?>" src="<?php echo e(asset('no_image.png')); ?>" style="width:200px;max-width:300px;cursor:pointer;">
                                                                            <?php endif; ?>
                                                                        </div>
                                                                        <div class="col-xs-4 col-sm-4 col-md-4 col-xl-4">
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.part number')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e($product->part_number); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.product category')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e($product->productCategory->name ?? '-'); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.qty')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e($product->qty??0); ?></div>
                                                                            </div>

                                                                            <?php if($product->already_buy_back): ?>
                                                                                <div class="row mb-3">
                                                                                        <div class="col-6">
                                                                                            <p class="fw-bolder credit text-left">
                                                                                                <?php echo e(__('message.buy back price')); ?>

                                                                                            </p>
                                                                                        </div>
                                                                                        <div class="col-6 text-left">: <?php echo e($product->buy_back_price??0); ?> <?php echo e($currency_->currency_symbol); ?></div>
                                                                                    </div>
                                                                                    <div class="row mb-3">
                                                                                        <div class="col-6">
                                                                                            <p class="fw-bolder credit text-left">
                                                                                                <?php echo e(__('message.date buy back')); ?>

                                                                                            </p>
                                                                                        </div>
                                                                                        <div class="col-6 text-left">: <?php if($product->buy_back_date): ?> <?php echo e($product->buy_back_date->format('d-m-Y H:i')); ?> <?php endif; ?></div>
                                                                                    </div>
                                                                            <?php endif; ?>

                                                                            <?php if($product->diamond_size): ?>
                                                                                <div class="row">
                                                                                    <div class="col-6">
                                                                                        <p class="fw-bolder credit text-left">
                                                                                            <?php echo e(__('message.diamond size')); ?>

                                                                                        </p>
                                                                                    </div>
                                                                                    <div class="col-6 text-left">: <?php echo $product->diamond_size??0; ?></div>
                                                                                </div>
                                                                            <?php endif; ?>
                                                                        </div>
                                                                        <div class="col-xs-4 col-sm-4 col-md-4 col-xl-4">
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.cost')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e(number_format($product->cost??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.weight')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e($product->weight); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.gold weight')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e($product->goldWeight()); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.wages')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e(number_format($product->wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?></div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-6">
                                                                                    <p class="fw-bolder credit text-left">
                                                                                        <?php echo e(__('message.original wages')); ?>

                                                                                    </p>
                                                                                </div>
                                                                                <div class="col-6 text-left">: <?php echo e(number_format($product->originale_wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?></div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <?php echo $__env->make('members.card-footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                                            </div>
                                                        </div>
                                                        <?php if($product->description): ?>
                                                            <div class="tab-pane fade" id="description<?php echo e($loop->index); ?>" role="tabpanel">
                                                                <?php echo $product->description; ?>

                                                            </div>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>

                                            </div>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </table>
                        </div>
                    </div>
                    <div class="col-xs-2 col-sm-2 col-md-2 col-xl-2">
                        <div class="mb-6 mt-6 text-center">
                            <h4 class="border-bottom border-info pb-2"><?php echo e(__('message.show member')); ?></h4>
                        </div>
                        <div class="form table-responsive">
                            <table class="table table-bordered table-hover table-striped w-100">
                                <tbody>
                                <tr>
                                    <th width="40%" class="bg-fusion-400"><?php echo e(__('message.name')); ?></th>
                                    <td class="credit"><?php echo e($member[0]?->name); ?></td>
                                </tr>
                                <tr>
                                    <th class="bg-fusion-400"><?php echo e(__('message.phone')); ?></th>
                                    <td class="credit"><?php echo e($member[0]?->phone); ?></td>
                                </tr>
                                <tr>
                                    <th class="bg-fusion-400"><?php echo e(__('message.note')); ?></th>
                                    <td class="credit"><?php echo e($member[0]?->note); ?></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="py-4 mt-4 mx-2 ">
                    <!-- Pagination bootstrap-->

                    <?php if($products->hasPages()): ?>
                        <div class="d-flex m-2 p-2" style="justify-content: space-between;align-items: start;width: 20%">
                            <select id="paginate" onchange="working()" class="form-select text-center rounded mr-2 mt-1"  aria-label="Default select example" style="width: 90px;font-size: 12px;border: 1px solid rebeccapurple">
                                <option selected hidden="hidden"><?php echo e($paginate); ?></option>
                                <option value="25">25</option>
                                <option value="50">50</option>
                                <option value="100">100</option>
                                <option value="250">250</option>
                                <option value="500">500</option>
                                <option value="1000">1000</option>
                            </select>                    <div class="">
                                <?php echo e($products->appends($_GET)->links()); ?>

                            </div>
                        </div>
                    <?php endif; ?>
                </div>
            </div>

        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/members/show.blade.php ENDPATH**/ ?>

© KUJUNTI.ID