Skip to main content

System Settings Guide

Product: Lofty Golden Oil ERP
URL: https://loftygoldenoil.com
Applicable Roles: Admin


Overview

System Settings provides centralized configuration for the entire ERP platform. All settings are managed by administrators and stored in the settings table. Changes here affect all users across the system.

Access: Navigate to Settings in the left sidebar. Only users with the Admin role can access this module.


Company Information

Configure your organization's details, which appear on invoices, reports, and communications.

Setting Company Information

  1. Click Settings in the sidebar.
  2. Select the Company Information tab.
  3. Fill in the following fields:
FieldDescriptionCurrent Value
Company NameOfficial registered nameLofty Golden Oil Ltd
LogoCompany logo image (JPG/PNG, recommended 200×200px)Upload via file picker
AddressRegistered business addressEnter full address
PhonePrimary contact phone numberEnter phone number
EmailPrimary business emailEnter email address
WebsiteCompany website URLhttps://loftygoldenoil.com
Tax ID / RC NumberCorporate Affairs Commission registration numberEnter RC number
  1. Click Save to apply changes.
  2. Updated information takes effect immediately on new invoices and reports.

Logo Upload

  1. Click the Upload Logo area or drag and drop an image file.
  2. Supported formats: JPG, PNG.
  3. Recommended dimensions: 200×200 pixels.
  4. Maximum file size: 5 MB.
  5. The logo appears on generated invoices, statements, and PDF exports.

Tax Configuration

Configure tax rates that apply to invoices and financial transactions.

Setting Tax Rate

  1. Navigate to Settings > Tax Configuration tab.
  2. The current VAT rate is displayed.
SettingDescriptionCurrent Value
VAT RateValue Added Tax percentage7.5%
  1. To modify the rate:
    • Enter the new percentage in the VAT Rate field.
    • Click Save.
  2. The new rate applies to all future invoices generated after the change.
  3. Existing invoices retain the rate that was active when they were created.

Nigeria VAT Context

  • The standard VAT rate in Nigeria is 7.5% (as regulated by the Federal Inland Revenue Service — FIRS).
  • VAT is applied to taxable goods and services.
  • Verify with your tax advisor which transactions are VAT-exempt.
  • The system calculates VAT automatically on invoices based on this configured rate.

Low Stock Thresholds

Configure alerts that notify administrators when inventory levels fall below safe minimums.

Global Default Threshold

  1. Navigate to Settings > Low Stock Thresholds tab.
  2. Set the Global Default Threshold — this applies to all products unless overridden.
SettingDescription
Global Default ThresholdMinimum quantity before a low stock alert is triggered
  1. Enter the default threshold value (e.g., 50 units).
  2. Click Save.

Per-Product Overrides

  1. In the same tab, locate the Product Overrides section.
  2. Click + Add Override.
  3. Select the product from the dropdown.
  4. Enter a custom threshold for that product.
  5. Click Save.

Priority: Per-product overrides take precedence over the global default.

Low Stock Alerts

When inventory falls below the configured threshold:

  • Dashboard Alert: A warning notification appears on the dashboard for Admin and Production users.
  • Email Notification: If email notifications are enabled, an alert email is sent to designated recipients.
  • Inventory List: The product is flagged with a low stock indicator in the inventory table.

Email Configuration

Configure the email service used for all system notifications, welcome emails, and alerts.

Resend API Configuration

The system uses Resend as its email service provider.

SettingDescriptionCurrent Value
Resend API KeyAPI key for authentication with ResendEnter your Resend API key
From AddressSender email address for all outgoing emailsnoreply@loftygoldenoil.com
From NameDisplay name for outgoing emailsLofty Golden Oil ERP

Setting Up Resend

  1. Navigate to Settings > Email Configuration tab.
  2. Enter your Resend API Key (obtain from https://resend.com).
  3. Verify the From Address matches your verified domain in Resend.
  4. Enter the From Name (e.g., "Lofty Golden Oil ERP").
  5. Click Save.
  6. Click Send Test Email to verify the configuration works.

Email Templates

The system includes branded HTML email templates for the following communications:

TemplateTriggerRecipient
Welcome EmailNew user createdNew user
Password ResetForgot password requestRequesting user
InvoiceInvoice generatedCustomer
StatementMonthly statement sentCustomer
Monthly ReportEnd of month reportAdmin/Accountant
Low Stock AlertInventory below thresholdAdmin/Production
Requisition AlertNew requisition submittedApprover at next level

Customizing Templates

  1. Navigate to Settings > Email Configuration > Templates.
  2. Select the template you wish to modify.
  3. Edit the HTML content using the built-in editor.
  4. Use placeholders for dynamic content:
    • {{user_name}} — Recipient's name
    • {{company_name}} — Company name from settings
    • {{amount}} — Transaction amount
    • {{date}} — Transaction date
    • {{reference}} — Reference number
  5. Click Preview to see how the email will look.
  6. Click Save to apply changes.

Notification Settings

Control which events trigger email notifications and whether notifications are enabled system-wide.

Enabling/Disabling Notifications

  1. Navigate to Settings > Notification Settings tab.
  2. Toggle the Enable Email Notifications switch to turn all notifications on or off.
  3. When disabled, no emails are sent regardless of individual event settings.

Event-Specific Notifications

Configure which events trigger email notifications:

EventDescriptionDefault
New User CreatedWelcome email sent to new userEnabled
Password Reset RequestedPassword reset link sentEnabled
Invoice GeneratedInvoice sent to customerEnabled
Statement SentMonthly statement sent to customerEnabled
Low Stock AlertAlert when inventory is lowEnabled
Requisition Approval NeededAlert to next-level approverEnabled
  1. Toggle each event on or off based on your preferences.
  2. Click Save to apply changes.

Notification Best Practices

  • Keep Password Reset notifications enabled for security.
  • Keep Requisition Approval notifications enabled for workflow efficiency.
  • Consider disabling Low Stock Alerts via email if the dashboard alerts are sufficient.
  • Review notification settings quarterly to ensure they align with business needs.

Display Settings

Configure the visual and formatting preferences for the ERP interface.

Display Configuration

SettingDescriptionOptions
Default ThemeInterface color schemeDark / Light
Default CurrencyCurrency displayed throughout the system₦ NGN (Nigerian Naira)
Date FormatHow dates are displayedDD/MM/YYYY (Nigerian standard)
Items Per PageNumber of rows in DataTables10, 25, 50, 100 (default: 10)

Changing Display Settings

  1. Navigate to Settings > Display Settings tab.
  2. Select your preferred options from each dropdown.
  3. Click Save.
  4. Changes take effect immediately for your account.
  5. These settings apply per-user — each admin can customize their own display.

Security Settings

Configure authentication and session security parameters.

Security Configuration

SettingDescriptionCurrent Value
JWT Token ExpiryDuration before a login session expires24 hours
Session TimeoutIdle timeout before automatic logoutConfigurable (minutes)
Password Minimum LengthMinimum characters required for passwords6 characters

Configuring Security Settings

  1. Navigate to Settings > Security Settings tab.
  2. Modify the desired settings:

JWT Token Expiry:

  • Set how long a login session remains valid.
  • Shorter durations (e.g., 8 hours) improve security but require more frequent logins.
  • Longer durations (e.g., 24 hours) improve convenience but increase risk.
  • Recommended: 24 hours for standard use, 8 hours for high-security environments.

Session Timeout:

  • Set how long an inactive session remains open.
  • After the timeout, the user must log in again.
  • Recommended: 30 minutes for shared workstations, 60 minutes for private offices.

Password Minimum Length:

  • Set the minimum number of characters required for passwords.
  • The system enforces this minimum for all new passwords and password resets.
  • Recommended: 8 characters for enhanced security.
  • Current: 6 characters.
  1. Click Save to apply changes.

Password Storage

  • All passwords are hashed using bcrypt before storage.
  • Plain-text passwords are never stored in the database.
  • The system uses salted hashes to prevent rainbow table attacks.
  • Even administrators cannot view user passwords.

Backup Configuration

Configure automatic database backups to protect against data loss.

Backup Settings

SettingDescription
Backup ScheduleHow often backups are performed (Daily, Weekly, Custom)
Backup TimeTime of day when backups run
Backup RetentionHow long backup files are kept (e.g., 30 days, 90 days)
Notify on FailureSend email alert if a backup fails

Configuring Backups

  1. Navigate to Settings > Backup Configuration tab.
  2. Set the Backup Schedule:
    • Daily: Recommended for production systems. Backs up every night.
    • Weekly: Suitable for low-volume systems. Backs up once per week.
    • Custom: Specify a custom cron schedule for advanced users.
  3. Set the Backup Time (e.g., 2:00 AM — during off-peak hours).
  4. Set the Backup Retention period (e.g., 30 days).
  5. Toggle Notify on Failure to receive email alerts if a backup fails.
  6. Click Save.

Backup Best Practices

  • Always enable backups. Data loss can be catastrophic for a distribution business.
  • Test restores periodically. A backup is only useful if it can be restored.
  • Store backups offsite. Keep copies in a separate location from the primary server.
  • Monitor backup health. Enable failure notifications and check logs regularly.
  • Retain financial data backups for at least 7 years for compliance.

System Information

View technical details about the ERP installation.

System Details

FieldDescriptionCurrent Value
VersionERP application version3.0.0
Node.js VersionBackend runtime versionCheck via Settings
MySQL VersionDatabase version8.0
UptimeTime since last server restartDisplayed in real-time

Viewing System Information

  1. Navigate to Settings > System Information tab.
  2. Review the displayed information.
  3. This information is useful for:
    • Troubleshooting with technical support
    • Verifying you are running the latest version
    • Checking system health (uptime)

Settings Summary

CategoryKey SettingsImpact
Company InformationName, Logo, Address, Tax IDInvoices, reports, communications
Tax ConfigurationVAT Rate (7.5%)Invoice calculations
Low Stock ThresholdsGlobal default, per-product overridesDashboard alerts, email notifications
Email ConfigurationResend API Key, From Address, TemplatesAll outgoing emails
Notification SettingsEvent togglesEmail notification triggers
Display SettingsTheme, Currency, Date format, PaginationUI appearance per user
Security SettingsJWT expiry, Session timeout, Password lengthAuthentication security
Backup ConfigurationSchedule, Retention, Failure alertsData protection
System InformationVersion, Node.js, MySQL, UptimeTechnical reference

Role Access Summary

FeatureAdminOther Roles
View SettingsYesNo
Edit Company InformationYesNo
Edit Tax ConfigurationYesNo
Edit Low Stock ThresholdsYesNo
Edit Email ConfigurationYesNo
Edit Notification SettingsYesNo
Edit Display SettingsYes (own account)No
Edit Security SettingsYesNo
Edit Backup ConfigurationYesNo
View System InformationYesNo

Troubleshooting

IssueSolution
Cannot see Settings in sidebarVerify your role is Admin
Emails not being sentCheck Resend API key is valid; verify From Address is verified in Resend
Welcome email not received by new userCheck spam folder; verify Resend configuration; test with Send Test Email
Low stock alerts not appearingVerify threshold is set; check inventory quantities; enable notifications
Backup not runningCheck backup schedule; verify server cron jobs are active
Tax rate not applying to invoicesVerify rate is saved; new rate applies to future invoices only
Changes not taking effectSome settings require a page refresh; clear browser cache if needed