@extends('layouts.master') @section('title', 'New treasury | Alboosh - Timeless authenticity, born of the desert') @if (request()->get('type') === "treasury") @php $type_name = __('basic.add treasury'); @endphp @else @php $type_name = __('basic.add bank'); @endphp @endif @section('title-topbar', $type_name) @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.treasuries') }} | {{ $type_name }}
{{ $type_name }}
@csrf
@error('name') {{ $message }} @enderror
@if (request()->get('type') === "bank")
@error('bank_name') {{ $message }} @enderror
@error('bank_number') {{ $message }} @enderror
@endif
@error('currency_id') {{ $message }} @enderror
@if(Auth::user()->branch_id == 0)
@error('branch_id') {{ $message }} @enderror
@endif
@error('description') {{ $message }} @enderror
@endsection @section('js') @endsection