Settings
Source: pharmanet-admin/src/pages/Settings/Settings.jsx
Tabs
| Tab |
Component |
Description |
| General |
GeneralSettings |
Platform name, logo, contact info |
| Payment |
PaymentSettings |
Commission rates, payment config |
| Email |
EmailSettings |
SMTP configuration |
Service
Source: pharmanet-admin/src/services/settings.js
| Function |
Description |
getSettings() |
All settings as key-value object |
updateSettings(payload) |
Upsert settings (handles FormData with logo) |
General Settings
| Key |
Type |
Description |
platform_name |
String |
Platform display name |
platform_logo |
URL |
Logo image |
contact_email |
String |
Support email |
contact_phone |
String |
Support phone |
address |
Text |
Business address |
Payment Settings
| Key |
Type |
Description |
commission_rate |
Decimal |
Platform commission % |
chapa_public_key |
String |
Chapa API public key |
chapa_secret_key |
String |
Chapa API secret key |
Email Settings
| Key |
Type |
Description |
smtp_host |
String |
SMTP server |
smtp_port |
Int |
SMTP port |
smtp_user |
String |
SMTP username |
smtp_pass |
String |
SMTP password |
from_email |
String |
Sender address |
- CMS — Static pages and banners