feat: initial project setup with Laravel 12 and Filament v4
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'first_name' => 'First Name',
|
||||
'last_name' => 'Last Name',
|
||||
'speciality' => 'Speciality',
|
||||
'license_id' => 'License ID',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sections' => [
|
||||
'info' => 'Medication Information',
|
||||
],
|
||||
'fields' => [
|
||||
'name' => 'Medication Name',
|
||||
'dosage_form' => 'Dosage Form',
|
||||
'strength' => 'Strength',
|
||||
'quantity' => 'Quantity',
|
||||
'timing' => 'Timing',
|
||||
'notes' => 'Notes',
|
||||
'is_default' => 'Default',
|
||||
'is_active' => 'Active',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'dashboard' => [
|
||||
'title' => 'Dashboard',
|
||||
],
|
||||
'roles' => [
|
||||
'title' => 'Roles',
|
||||
'description' => 'Manage roles and user access levels',
|
||||
],
|
||||
'users' => [
|
||||
'title' => 'User Management',
|
||||
'singular' => 'User',
|
||||
'description' => 'Manage clinic staff user accounts and access levels.',
|
||||
],
|
||||
'doctors' => [
|
||||
'title' => 'Doctors',
|
||||
'singular' => 'Doctor',
|
||||
'description' => 'Log and manage list of your clinic doctors',
|
||||
],
|
||||
'payment_types' => [
|
||||
'title' => 'Payment Types',
|
||||
'singular' => 'Payment Type',
|
||||
'description' => 'List of POS information and payment methods.',
|
||||
],
|
||||
'patient_illness' => [
|
||||
'title' => 'Patient Illness',
|
||||
'singular' => 'Patient Illness',
|
||||
'description' => 'Manage list of probable illnesses for patients.',
|
||||
],
|
||||
'treatments' => [
|
||||
'title' => 'Treatments',
|
||||
'singular' => 'Treatment',
|
||||
'description' => 'Log different visits or operations for doctors and patients.',
|
||||
],
|
||||
'surgery_centers' => [
|
||||
'title' => 'Surgery Centers',
|
||||
'singular' => 'Surgery Center',
|
||||
'description' => 'Manage and configure surgery centers affiliated with your clinic.',
|
||||
],
|
||||
'patients' => [
|
||||
'title' => 'Patients',
|
||||
'singular' => 'Patient',
|
||||
'description' => 'Log & Manage Patients Information, Including surgery & payment logs',
|
||||
],
|
||||
'medications' => [
|
||||
'title' => 'Medications',
|
||||
'singular' => 'Medication',
|
||||
'description' => 'Manage and configure medications list for your clinic.',
|
||||
],
|
||||
'visits' => [
|
||||
'title' => 'Visits',
|
||||
'singular' => 'Visit',
|
||||
'description' => 'Log and manage all patient visits with treatment details, costs and payment records.',
|
||||
],
|
||||
'prescriptions' => [
|
||||
'title' => 'Prescriptions',
|
||||
'singular' => 'Prescription',
|
||||
'description' => 'Issue and manage free prescriptions with your clinic letterhead for patients.',
|
||||
],
|
||||
'surgery_appointments' => [
|
||||
'title' => 'Surgery Appointments',
|
||||
'singular' => 'Surgery Appointment',
|
||||
'description' => 'View and manage surgery appointments. Track surgery date, center, and status for each patient.',
|
||||
],
|
||||
'osurg_initials' => [
|
||||
'title' => 'Initial Settings',
|
||||
'singular' => 'Initial Setting',
|
||||
'description' => 'Few preferences for program are logged here.',
|
||||
],
|
||||
'sms_logs' => [
|
||||
'label' => 'SMS Logs',
|
||||
'title' => 'SMS Logs',
|
||||
'description' => 'View and track reminder SMS messages sent to patients.',
|
||||
],
|
||||
'osurg_audit' => [
|
||||
'title' => 'Audit Log',
|
||||
'singular' => 'Audit',
|
||||
'description' => 'Every changes made in database is logged in audit table.',
|
||||
],
|
||||
'sync' => [
|
||||
'label' => 'Sync',
|
||||
'title' => 'Database Synchronization',
|
||||
'details' => 'Sync Details',
|
||||
'confirm_heading' => 'Two-way Synchronization',
|
||||
'confirm_description' => 'This system\'s data will be synchronized with the peer system. Are you sure?',
|
||||
'confirm_button' => 'Yes, Sync Now',
|
||||
'error_title' => 'Configuration Error',
|
||||
'error_not_configured' => 'Peer IP address or sync token is not configured in Initial Settings.',
|
||||
'success' => 'Synchronization completed successfully ✓',
|
||||
'failed' => 'Synchronization failed',
|
||||
'see_report' => 'Check the report for details.',
|
||||
'last_sync' => 'Last Sync',
|
||||
'pending_changes' => 'Pending Changes',
|
||||
'peer_address' => 'Peer System Address',
|
||||
'never' => 'Never',
|
||||
'setup_guide' => 'Setup Guide',
|
||||
'setup_description' => 'To enable synchronization, set the following values in the .env file on both systems:',
|
||||
'setup_description_dynamic' => 'Sync settings are managed via the "Initial Settings" section. The following parameters must be configured on both systems:',
|
||||
'field_peer_ip' => 'Peer system IP address',
|
||||
'field_peer_port' => 'Peer system port (default 80)',
|
||||
'field_sync_token' => 'Security token (must be identical on both systems)',
|
||||
'setup_warning' => 'The sync_token value must be identical on both systems.',
|
||||
'last_report' => 'Last Sync Report',
|
||||
'sync_with_peer' => 'Sync with Peer System',
|
||||
'status_connecting' => 'Connecting to peer system...',
|
||||
'status_receiving' => 'Receiving changes...',
|
||||
'status_sending' => 'Sending changes...',
|
||||
'close' => 'Close',
|
||||
],
|
||||
'backup' => [
|
||||
'label' => 'Backup (Download JSON)',
|
||||
],
|
||||
'groups' => [
|
||||
'patients' => 'Patients & Visits',
|
||||
'diseases' => 'Illnesses & Treatments',
|
||||
'treatment' => 'Illnesses & Treatments',
|
||||
'clinic' => 'Clinic Information',
|
||||
'settings' => 'Program Administration',
|
||||
'users' => 'User Management',
|
||||
'system' => 'System',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'init_parameter' => 'Parameter',
|
||||
'init_value' => 'Value',
|
||||
'attachment' => 'Attachment',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'illness' => 'Illness',
|
||||
'row_no' => 'Column',
|
||||
'priority' => 'Priority',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
'row_options' => [
|
||||
'first' => 'Column 1',
|
||||
'second' => 'Column 2',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sections' => [
|
||||
'personal' => 'Personal Information',
|
||||
'contact' => 'Contact Information',
|
||||
'medical' => 'Medical Information',
|
||||
'other' => 'Other Information',
|
||||
'patient_info' => '1. Patient Information',
|
||||
'illness' => '2. Medical History',
|
||||
'surgery_notes' => '3. Surgery Notes',
|
||||
'media' => '4. Patient Media',
|
||||
],
|
||||
'fields' => [
|
||||
'icno' => 'National ID',
|
||||
'first_name' => 'First Name',
|
||||
'last_name' => 'Last Name',
|
||||
'full_name' => 'Full Name',
|
||||
'father_name' => 'Father Name',
|
||||
'gender' => 'Gender',
|
||||
'birth_date' => 'Birth Date',
|
||||
'age' => 'Age',
|
||||
'marital_status' => 'Marital Status',
|
||||
'education' => 'Education',
|
||||
'job' => 'Job',
|
||||
'hand_phone' => 'Mobile',
|
||||
'home_phone' => 'Home Phone',
|
||||
'work_phone' => 'Work Phone',
|
||||
'other_phone' => 'Other Phone',
|
||||
'home_address' => 'Home Address',
|
||||
'work_address' => 'Work Address',
|
||||
'refered_by' => 'Referred By',
|
||||
'referal_reason' => 'Referral Reason',
|
||||
'doc_id' => 'Doctor ID',
|
||||
'insurance' => 'Insurance',
|
||||
'insurance_no' => 'Insurance No.',
|
||||
'blood_pressure' => 'Blood Pressure',
|
||||
'blood_sugar' => 'Blood Sugar',
|
||||
'current_illness_1' => 'Current Illness (1)',
|
||||
'current_illness_2' => 'Current Illness (2)',
|
||||
'is_undercare' => 'Under Medical Care',
|
||||
'undercare_reason' => 'Care Reason',
|
||||
'is_usingdrug' => 'Using Medication',
|
||||
'underdrug_reason' => 'Medication Name',
|
||||
'has_alergyto' => 'Has Allergy',
|
||||
'alergy_reason' => 'Allergy Reason',
|
||||
'description' => 'Description',
|
||||
'has_surgery_appointment' => 'Surgery Appointment',
|
||||
'surgery_appointment' => 'Surgery Appointment',
|
||||
'surgery_date' => 'Surgery Date',
|
||||
'surgery_time' => 'Surgery Time',
|
||||
'surgery_center' => 'Surgery Center',
|
||||
'surgery_before' => 'Pre-surgery Notes',
|
||||
'sergery_after' => 'Post-surgery Notes',
|
||||
'photos_before' => 'Before Photos',
|
||||
'photos_after' => 'After Photos',
|
||||
'videos' => 'Videos',
|
||||
'audio_files' => 'Audio Files',
|
||||
'audio_speed' => 'Audio Playback Speed',
|
||||
'created_at' => 'Created At',
|
||||
'updated_at' => 'Last Updated',
|
||||
'created_by' => 'Created By',
|
||||
'updated_by' => 'Updated By',
|
||||
],
|
||||
'actions' => [
|
||||
'surgery_appointment' => 'Surgery Appointment',
|
||||
'save_appointment' => 'Save Appointment',
|
||||
'delete_appointment' => 'Delete Appointment',
|
||||
'appointment_saved' => 'Surgery appointment saved successfully',
|
||||
'appointment_deleted' => 'Surgery appointment deleted',
|
||||
'sms_sent' => 'Reminder SMS sent successfully',
|
||||
'sms_failed' => 'Failed to send reminder SMS',
|
||||
'api_failed' => 'Server connection failed — appointment not saved',
|
||||
'save_and_print_admission' => 'Save & Print Admission',
|
||||
'print_admission' => 'Print Admission',
|
||||
'view_files' => 'Patient Files',
|
||||
],
|
||||
'validation' => [
|
||||
'first_name_required' => 'First name is required.',
|
||||
'last_name_required' => 'Last name is required.',
|
||||
'father_name_required' => 'Father name is required.',
|
||||
'hand_phone_required' => 'Mobile number is required.',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'payment_type' => 'Payment Type',
|
||||
'account_no' => 'Account No',
|
||||
'pos_no' => 'POS No',
|
||||
'description' => 'Description',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sections' => [
|
||||
'info' => 'Prescription Info',
|
||||
'medications' => 'Select Medications',
|
||||
'content' => 'Prescription Content',
|
||||
],
|
||||
'fields' => [
|
||||
'patient' => 'Patient',
|
||||
'doctor' => 'Doctor',
|
||||
'issue_date' => 'Issue Date',
|
||||
'issue_datetime' => 'Issue Date & Time',
|
||||
'medication_ids' => 'Prescribed Medications',
|
||||
'content' => 'Prescription Content',
|
||||
'created_by' => 'Created By',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
'actions' => [
|
||||
'create' => 'New Prescription',
|
||||
'saved' => 'Prescription saved successfully',
|
||||
'save_and_print' => 'Save & Print',
|
||||
'print_prescription' => 'Print Prescription',
|
||||
'print_admission' => 'Print Admission',
|
||||
'print_lab' => 'Print Lab Order',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sections' => [
|
||||
'info' => 'Surgery Appointment Information',
|
||||
],
|
||||
'fields' => [
|
||||
'patient' => 'Patient',
|
||||
'surgery_center' => 'Surgery Center',
|
||||
'surgery_date' => 'Surgery Date',
|
||||
'surgery_time' => 'Surgery Time',
|
||||
'created_by' => 'Created By',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'name' => 'Center Name',
|
||||
'address' => 'Address',
|
||||
'phone' => 'Phone',
|
||||
'email' => 'Email',
|
||||
'contact_person' => 'Contact Person',
|
||||
'description' => 'Description',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'id' => 'ID',
|
||||
'datetime' => 'Date & Time',
|
||||
'ip' => 'IP Address',
|
||||
'user' => 'User',
|
||||
'table_name' => 'Table',
|
||||
'action' => 'Action',
|
||||
'record_id' => 'Record ID',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'export' => 'Export',
|
||||
'export_excel' => 'Export Excel',
|
||||
'export_pdf' => 'Export PDF',
|
||||
'export_excel_selected' => 'Export Excel (Selected)',
|
||||
];
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'treatment_type' => 'Treatment Type',
|
||||
'treatment_name' => 'Treatment Name',
|
||||
'descriptions' => 'Descriptions',
|
||||
'treatment_cost' => 'Cost (Rial)',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'fields' => [
|
||||
'name' => 'Name',
|
||||
'username' => 'Username',
|
||||
'password' => 'Password',
|
||||
'roles' => 'Roles',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sections' => [
|
||||
'visit_info' => 'Visit Information',
|
||||
'financial_info' => 'Financial Information',
|
||||
'treatment_details' => 'Treatment Details',
|
||||
],
|
||||
'fields' => [
|
||||
'patient' => 'Patient',
|
||||
'visit_date' => 'Visit Date',
|
||||
'visit_time' => 'Visit Time',
|
||||
'doctor' => 'Doctor',
|
||||
'treatment' => 'Service / Treatment',
|
||||
'treatment_cost' => 'Treatment Cost',
|
||||
'paid_amount' => 'Paid Amount',
|
||||
'remained_amount' => 'Remaining Balance',
|
||||
'payment_type' => 'Payment Method',
|
||||
'treatment_description' => 'Treatment Description',
|
||||
'currency' => 'IRR',
|
||||
'created_by' => 'Created By',
|
||||
'created_at' => 'Created At',
|
||||
],
|
||||
'actions' => [
|
||||
'create' => 'New Visit',
|
||||
'saved' => 'Visit saved successfully',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user