Skip to main content

Resource Orders

Resource Orders enable cross-department resource requesting and fulfillment. The module is managed by the OrdersController.

Resource orders

Overview​

The resource ordering system allows departments to:

  • Request resources (personnel, equipment) from other departments
  • View and fill orders from other departments
  • Manage order visibility and auto-fill settings

Resource Order Dashboard​

Displays two sections:

  1. Your Orders — Orders created by the department (sorted by open date)
  2. Available Orders — Orders from other departments that are visible and fillable

Map center coordinates are loaded for geographic context.

Order Settings​

Configuration Fields​

FieldDescription
VisibilityWho can see your orders (Range, Geofence, Linked, Unrestricted)
RangeMaximum distance for Range visibility (default: 500)
Default ManagerUser who manages incoming fills
Staffing LimitsStaffing levels that can respond
Auto-FillAutomatically accept fills
Boundary GeofenceGeographic boundary for order visibility
Notify RolesPersonnel roles notified of new orders
Target Department TypesTypes of departments that can see orders
Import Email CodeAuto-generated code for email-based ordering

Visibility Levels​

LevelCodeDescription
Range0Visible to departments within configured distance
Geofence1Visible to departments within boundary geofence
Linked2Visible only to linked departments
Unrestricted3Visible to all departments

Creating Orders​

Order Fields​

FieldRequiredDescription
NameYesOrder title
SummaryNoOrder description
Needed ByDefault +30 daysDeadline for fulfillment

Order Items​

Each order contains one or more resource items:

FieldDescription
ResourceWhat is being requested
MinimumMinimum quantity needed
MaximumMaximum quantity acceptable

Items are parsed dynamically from form fields (itemResource_N, itemMin_N, itemMax_N).

Order Metadata​

  • Origin coordinates from department map center
  • Visibility and range from settings
  • Open date automatically set

Filling Orders​

View Fill Form​

View an order's items and available personnel for filling.

Submit Fill​

FieldDescription
Contact NameFill coordinator
Contact InfoContact details
UnitsUnits being offered
Lead UserPersonnel leading the fill

Auto-Fill Acceptance​

If the ordering department has auto-fill enabled:

  • Fills are immediately accepted
  • Uses the configured default manager or department managing user

Manual Acceptance​

The AcceptFill action manually accepts a submitted fill.

Setup examples​

Department typeHow to set it up
Mutual aidOrder an engine and a tender from linked departments during a large fire; the filling department accepts and assigns units.
Emergency managementResource requests from municipalities to the county EOC; track fills and returns.
SARRequest K9 or drone teams from partner teams.

Technical reference​

Data Endpoints​

EndpointPurpose
GetYourOrdersDepartment's open orders with status
GetAvailableOrdersAvailable orders from other departments

Interactions with Other Modules​

ModuleInteraction
Department LinksLinked departments can have order visibility
PersonnelPersonnel assigned to fills
UnitsUnits offered in fills
Custom StatusesStaffing levels used for fill eligibility
MappingGeographic coordinates for range/geofence visibility
Department SettingsDefault manager and map center coordinates