@extends('layouts.app') @section('title', 'Invoice Management') @section('content')

{{ __('invoice_page.total_paid') }}

Rp. {{ number_format($totalPaid, 0, ',', '.') }}

{{ __('invoice_page.total_unpaid') }}

Rp. {{ number_format($totalUnpaid, 0, ',', '.') }}

@if(Auth::user()->hasRole('customer')) My Invoices @else Invoice List @endif

@if(Auth::user()->hasRole('customer'))

View and manage your invoices and shipments

@endif
@include('layouts.partials.flash')
@endsection @section('footer') @endsection