@extends('layouts.admin') @section('title', 'New Credit Note') @section('page-title', 'New Credit Note') @push('styles') @endpush @section('breadcrumbs') Credit Notes chevron_right New Credit Note @endsection @section('content')
@push('scripts') @php $cnDefaultCurrency = \App\Models\Currency::getDefault(); $cnCurrencyClient = [ 'code' => $defaultCurrencyCode ?? \App\Models\Currency::getDefaultCode(), 'symbol' => $cnDefaultCurrency ? $cnDefaultCurrency->symbol : \App\Models\Currency::getSymbol(), 'symbolPosition' => $cnDefaultCurrency && $cnDefaultCurrency->symbol_position ? $cnDefaultCurrency->symbol_position : 'before', 'decimalPlaces' => $cnDefaultCurrency ? (int) $cnDefaultCurrency->decimal_places : 2, ]; @endphp @endpush @endsection