@extends('layouts.app') @php $isEdit = $pharmacy->exists; @endphp @section('title', $isEdit ? 'تعديل صيدلية' : 'إضافة صيدلية') @section('page_title', $isEdit ? 'تعديل صيدلية' : 'إضافة صيدلية') @section('breadcrumb') @endsection @section('content')
@csrf @if($isEdit) @method('PUT') @endif @if ($errors->any())
@foreach ($errors->all() as $e)
{{ $e }}
@endforeach
@endif
{{-- ============== Basic ============== --}}
is_main) ? 'checked' : '' }}>
is_active : true) ? 'checked' : '' }}>
{{-- ============== ETA Issuer ============== --}}
البيانات دى لازم تكون مطابقة لبيانات تسجيل الصيدلية فى بوابة مصلحة الضرائب المصرية (ETA)؛ هتظهر فى كل فاتورة مُرسلة كـ issuer.
{{-- ============== ETA Credentials & Signing ============== --}}
eta_enabled) ? 'checked' : '' }}>
@if($isEdit && $credential->exists && $credential->last_tested_at)
آخر اختبار اتصال: {{ $credential->last_tested_at->diffForHumans() }} — {{ $credential->last_test_message }}
@endif
{{-- ============== Extra ============== --}}
@endsection