@php $db_settings = \App\Models\Setting::get(); $settings = []; foreach ($db_settings as $row) { $settings[$row->name] = $row->value; } @endphp {{ $settings['website_name'] ?? '' }} - POS @if (isset($settings['icon']) && is_file('storage/settings/' . isset($settings['icon']) ? $settings['icon'] : '')) @endif @unless (sees_pharmacy_prices()) {{-- no "pharmacy-see-prices": quantities only — no prices anywhere on the POS --}} @endunless
{{-- Labelled buttons, not a lone icon — the old white home icon was hard to spot as the only way out of POS. --}}
Back POS
{{ auth()->user()?->name }} Dashboard
@foreach ($categories as $category) @endforeach
{{--
--}}
Name QTY Price Sub Total
Sub Total :
0
@php $total_tax = 0; @endphp @foreach ($taxes as $item)
{{ $item->name }} ({{ $item->rate }}%):
@php $total_tax += ($item->rate / 100) * $total; @endphp {{ number_format(($item->rate / 100) * $total) }}
@endforeach
$
Total :
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}