@extends('layouts.app') @section('title', 'POS Terminals - ' . $branch->name) @section('content')

POS Terminals

Manage Point of Sale devices for {{ $branch->name }}

@if($posDevices->count() > 0)
@foreach($posDevices as $pos)
{{ $pos->name }}
{{ $pos->account_code }}
Online
Total Orders

{{ $pos->stats['order_count'] ?? 0 }}

Revenue

${{ number_format($pos->stats['total_amount'] ?? 0, 2) }}

Active Cashier {{ $pos->stats['cashier_name'] ?? 'N/A' }}
Cash in Hand ${{ number_format($pos->stats['cash_in_hand'] ?? 0, 2) }}
@endforeach
@else

No POS Terminals Configured

Register your first POS device to start accepting orders in this branch.

@endif @endsection