4geo35 / staff-doctors
Expand staff package for doctors yml
v2.0.0
2026-10-15 11:16 UTC
Requires
- 4geo35/staff-pages: ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Установка
Добавить в tailwind.admin.config.js, созданный в пакете tailwindcss-theme.
"./vendor/4geo35/staff-doctors/src/resources/views/components/**/*.blade.php",
"./vendor/4geo35/staff-doctors/src/resources/views/admin/**/*.blade.php",
"./vendor/4geo35/staff-doctors/src/resources/views/livewire/admin/**/*.blade.php",
Добавить в tailwind.config.js, созданный в пакете tailwindcss-theme.
"./vendor/4geo35/staff-doctors/src/resources/views/components/**/*.blade.php",
"./vendor/4geo35/staff-doctors/src/resources/views/web/**/*.blade.php",
"./vendor/4geo35/staff-doctors/src/resources/views/livewire/web/**/*.blade.php",
Запустить миграции для создания таблиц php artisan migrate
Views
Сокращение для представлений: sd
Меню для панели администрирования: <x-sd::menu-item/>
Livewire Components
Web
sd-web-make-appointment
Config
Название файла: staff-doctors
doctorPrefix=> ``serviceQueryKey=>serviceofferQueryKey=>offerappointmentBlockId=>make-appointmentymlCacheKey=>doctor-yml-exportymlCacheLifetime=>env("DOCTOR_YML_CACHE_LIFETIME", 86400)ymlPrefix=>doctor-exportymlName=>env("DOCTOR_YML_NAME", "")ymlCompany=>env("DOCTOR_YML_COMPANY", "")ymlPicture=>env("DOCTOR_YML_PICTURE", "favicon.ico")ymlEmail=>env("DOCTOR_YML_EMAIL", "")clinicFeedPrefix=>clinicofferFeedPrefix=>offer
Routes
Файл admin.php, middleware(["web", "auth", "app-management"])
admin.clinics.index=>admin/clinicsadmin.doctor-services.index=>admin/doctor-servicesadmin.doctor-offers.index=>admin/doctor-offersadmin.doctor-offers.show=>admin/doctor-offers/{offer}
Файл web.php, middleware(["web"]), prefix(config("staff-pages.employeePrefix"))
web.employees.doctor=>{prefix}/{config("staff-doctors.doctorPrefix")}{employee}
Файл export.php, middleware(["web"]), prefix(config("staff-doctors.ymlPrefix"))
web.doctors.yml=>{prefix}/yml