@extends('admin.layouts.master-soyuz') @section('title', __('Invoice Settings | ')) @section('body') @component('admin.component.breadcumb', ['secondaryactive' => 'active']) @slot('heading'){{ __('Invoice Settings') }}@endslot @slot('menu1'){{ __('Invoice Settings') }}@endslot @endcomponent
@if ($errors->any()) @endif @if(session('updated') || session('success')) @endif
@csrf
{{-- LEFT: form fields --}}
{{ __('Numbering') }}
{{ __('Prefix shown on order IDs') }}
{{ __('Next invoice will start from this number') }}
{{ __('Seal & Signature') }}
@if(isset($Invoice->seal) && $Invoice->seal && file_exists(public_path('images/seal/' . $Invoice->seal))) @else {{ __('No seal') }} @endif
{{ __('PNG with transparent background recommended.') }}
@if(isset($Invoice->sign) && $Invoice->sign && file_exists(public_path('images/sign/' . $Invoice->sign))) @else {{ __('No signature') }} @endif
{{ __('PNG / JPG, transparent preferred.') }}
{{ __('Terms & Conditions') }}
{{ __('You can include a return policy, jurisdiction, or signature note. Plain text or basic HTML.') }}
{{-- RIGHT: sticky save + helper --}}
{{ __('Save Settings') }}

{{ __('Updates apply to invoices generated from now on.') }}

{{ __('Design / Layout') }}
{{ __('Preview') }}
{{ __('Sample Invoice ID') }}
{{ $Invoice->prefix ?? 'INV-' }}{{ str_pad((string) ($Invoice->inv_start ?? 1001), 5, '0', STR_PAD_LEFT) }}{{ $Invoice->postfix ?? '' }}

{{ __('COD Sample') }}
{{ $Invoice->cod_prefix ?? 'COD-' }}{{ str_pad((string) ($Invoice->inv_start ?? 1001), 5, '0', STR_PAD_LEFT) }}{{ $Invoice->cod_postfix ?? '' }}
@endsection @section('custom-script') @endsection