@extends('layout.main') @section('content')

Savings

@if (Auth::user()->can('savings-create')) Add Savings @endif
@if (Auth::user()->can('savings-product-edit') || Auth::user()->can('savings-product-delete')) @endif @forelse ($savings as $person) @if (Auth::user()->can('savings-add-deposits') || Auth::user()->can('savings-show') || Auth::user()->can('savings-delete'))
Client In Saving Total UsedActions

{{ $person?->client?->fullname }}

{{ number_format($person?->remaining_savings) }}

{{ number_format($person?->used_savings) }}

@if (Auth::user()->can('savings-add-deposits')) @endif @if (Auth::user()->can('savings-show')) @endif @if (Auth::user()->can('savings-product-delete'))
@csrf @method('DELETE')