@extends('layouts.layoutapp') @section('content')

Total Staffs

{{$staff_count ?? 0}}

Total Products

{{$product_count ?? 0}}

Today's Invoices

{{$invoice_count ?? 0}}

Total Selling Price

{{ number_format($branch->loyalty_config == 'A' ? (($todayTotalSellingPrice ?? 0) - ($redeem ?? 0)) : ($todayTotalSellingPrice ?? 0), 2) }}
@if(in_array(Auth::user()->user_flg, ['A', 'SU']))

Total Margin Price

{{number_format($todayTotalMarginPrice ?? 0, 2)}}

Today's Profit

{{ number_format($branch->loyalty_config == 'A' ? (($todayTotalProfit ?? 0) - ($redeem ?? 0)) : ($todayTotalProfit ?? 0), 2) }}
@endif

Today's Cash Transaction

{{number_format($cashTransaction ?? 0, 2)}}

Today's Bank Transaction

{{number_format($bankTransaction ?? 0, 2)}}
@endsection @push('scripts') @endpush