kor TürkçeGitHub

DeliveryRoute

Follows the stops of a delivery round.

kor/ui/DeliveryRouteSource

When to use

  • Use it for last mile delivery and field service.

Examples

Today's round

Loading the example

<k:DeliveryRoute title="34 KRG 72" driver="Mert Aksoy" stopPress=".onStop">
	<k:DeliveryStop key="1" title="Moda Eczanesi" text="Caferağa Mah. 12" time="09:10" parcels="2" state="success"/>
	<k:DeliveryStop key="2" title="Ada Yılmaz" text="Osmanağa Mah. 8" time="09:35" state="danger" statusText="Nobody home"/>
	<k:DeliveryStop key="3" title="Deniz Tekstil" text="Rasimpaşa Mah. 44" time="10:00 – 10:30" parcels="6"/>
	<k:DeliveryStop key="4" title="Atlas Kırtasiye" text="Hasanpaşa Mah. 3" time="11:00" parcels="3" state="wait"/>
</k:DeliveryRoute>

API

Properties

NameTypeDefaultDescription
titlestringRound name or license plate
driverstringDriver
modestringvanvan, truck or bike
collapseDonebooleanfalseWhether to hide finished stops

Aggregations

NameTypeDescription
stopsDeliveryStop[]Stops in order

Events

NameTypeDescription
stopPresskey: stringA stop was pressed

DeliveryStop

A delivery stop.

Properties

NameTypeDefaultDescription
keystringKey
titlestringRecipient
textstringAddress
timestringTime or time window
parcelsint1Number of parcels
statestringnonesuccess delivered, danger failed, wait late, none upcoming
statusTextstringStatus text

Related

ShipmentLoadPlan