⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
resources
/
views
/
pos
/
View File Name :
report.blade.php
@extends('layouts.admin') @section('page-title') {{__('POS Summary')}} @endsection @section('breadcrumb') <li class="breadcrumb-item"><a href="{{route('dashboard')}}">{{__('Dashboard')}}</a></li> <li class="breadcrumb-item">{{__('POS Summary')}}</li> @endsection @push('css-page') <link rel="stylesheet" href="{{ asset('css/datatable/buttons.dataTables.min.css') }}"> @endpush @section('content') <div id="printableArea"> <div class="row mt-3"> <div class="col-md-12"> <div class="card"> <div class="card-body table-border-style"> <div class="table-responsive"> <table class="table datatable"> <thead> <tr> <th>{{__('POS ID')}}</th> <th>{{ __('Date') }}</th> <th>{{ __('Customer') }}</th> <th>{{ __('Warehouse') }}</th> <th>{{ __('Sub Total') }}</th> <th>{{ __('Discount') }}</th> <th>{{ __('Total') }}</th> </tr> </thead> <tbody> @forelse ($posPayments as $posPayment) <tr> <td class="Id"> <a href="{{ route('pos.show',\Crypt::encrypt($posPayment->id)) }}" class="btn btn-outline-primary"> {{ AUth::user()->posNumberFormat($posPayment->id) }} </a> </td> <td>{{ Auth::user()->dateFormat($posPayment->created_at)}}</td> @if($posPayment->customer_id == 0) <td class="">{{__('Walk-in Customer')}}</td> @else <td>{{ !empty($posPayment->customer) ? $posPayment->customer->name : '' }} </td> @endif <td>{{ !empty($posPayment->warehouse) ? $posPayment->warehouse->name : '' }} </td> <td>{{!empty($posPayment->posPayment)? \Auth::user()->priceFormat ($posPayment->posPayment->amount) :0}}</td> <td>{{!empty($posPayment->posPayment)? \Auth::user()->priceFormat($posPayment->posPayment->discount) :0}}</td> <td>{{!empty($posPayment->posPayment)? \Auth::user()->priceFormat($posPayment->posPayment->discount_amount) :0}}</td> </tr> @empty <tr> <td colspan="7" class="text-center text-dark"><p>{{__('No Data Found')}}</p></td> </tr> @endforelse </tbody> </table> </div> </div> </div> </div> </div> </div> @endsection