Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Current configured local-day commercial sales returned by the server.

    grossTotalMinor and products arrive from one server-side grouped read, so the headline total and the breakdown always describe the same set of orders. products contains only products that actually sold today and arrives in the server's order, largest quantity first; a day with no commercial sale is an empty list beside a zero total rather than a list of zero rows.

    interface CurrentDaySales {
        grossTotalMinor: number;
        products: ProductSalesCount[];
    }
    Index
    grossTotalMinor: number

    Exact gross amount in integer SEK minor units.

    products: ProductSalesCount[]

    One entry per product that sold today, largest quantity first.