
    D)j
              
          d Z ddlmZ dZdedddddddd	d
ddddddddddddddZg dZg dZddZddZddZ	ddZ
y)u  The LFCS fleet, and what a driver checks before he drives.

One dict, one file. A ute goes back or a new one lands, edit here and nothing else moves — the
checklist, the QR, the register folder and the defect strip all read from this.

From the LFCS Fleet Register: the eight vehicles actually on the road as of 08/2026. Not per job
on purpose — a ute is on three jobs in a week, so the record is company plant, kept beside
devices.csv and people.csv rather than inside any one job.
    )annotationsTRUCKz2026 Isuzu NPR)desckindz2022 Hilux WorkmateUTEz2021 Hilux 4x4z
2023 PradoWAGONz2015 Hilux 4x2z2012 Hilux 150z2011 VW CaddyVANz
2014 Hiace)FZX89WERO98SFOD42TYJX10KDK29LQDI29MCEZP44ZFEE61F))lightsLightsz&Head, tail, brake, indicators, reverse)tyreszTyres and wheelsz!Tread, pressure, cuts, nuts tight)glasszWindscreen and mirrorszChips, cracks, both mirrors set)fluidszFluids and leaksz!Oil, water, nothing on the ground)brakeszBrakes feel rightzPedal firm, handbrake holds)damagezBody damagezAnything new since last time)cabzCab tidy, nothing loosezNothing to fly about in a stop)	restraintzLoad restrainedz-Straps on, tailgate shut, nothing to fall off))gearzLoad restraint gear conditionu/   Straps, ratchets, chains — no frays or cracks)masszWithin mass limitsz$Your judgement on what's on the tray)heightzHeight clearance knownz.You know how tall it is and where you're goingc                f    | xs dj                         j                         j                  dd      S )N  )stripupperreplaceregos    /opt/lfcs-signon/app/fleet.pynormr'   .   s+    JB%%'//R88    c                r    t         j                  t        |             }|rt        |t        |             S d S )Nr$   )VEHICLESgetr'   dictr%   vs     r&   vehicler/   2   s,    T$Z A'(4T
#2d2r(   c                ~    t         j                  t        |             }|rt        |        d|d    S t        |       S )Nu    — r   )r*   r+   r'   r-   s     r&   labelr1   7   s8    T$Z A./d4j\qyk*?T$Z?r(   c                |    t         j                  t        |             }t        |r|d   t        k(  rt
        z   S g z   S )Nr   )r*   r+   r'   CHECKSr   TRUCK_CHECKSr-   s     r&   
checks_forr5   <   s4    T$Z AQ1V9+=\FF2FFr(   N)r%   strreturnr6   )r%   r6   r7   zdict | None)r%   r6   r7   zlist[tuple[str, str, str]])__doc__
__future__r   r   r*   r3   r4   r'   r/   r1   r5    r(   r&   <module>r;      s    # (7,e<'7#W5'7'7&6#U3		
93
@
Gr(   