![gpt-engineer-app[bot]](/assets/img/avatar_default.png)
Adds forward and backward buttons to job cards to change job status. Implements new statuses and highlights jobs needing attention.
28 lines
714 B
TypeScript
28 lines
714 B
TypeScript
|
|
import { IndJobStatusOptions, IndTransactionRecord } from "./pbtypes"
|
|
import { IsoDateString } from "./pbtypes"
|
|
import { IndBillitemRecord } from "./pbtypes"
|
|
|
|
export type IndJob = {
|
|
billOfMaterials?: IndBillitemRecord[]
|
|
consumedMaterials?: IndBillitemRecord[]
|
|
created?: IsoDateString
|
|
expenditures?: IndTransactionRecord[]
|
|
id: string
|
|
income?: IndTransactionRecord[]
|
|
jobEnd?: IsoDateString
|
|
jobStart?: IsoDateString
|
|
outputItem: string
|
|
outputQuantity: number
|
|
produced?: number
|
|
saleEnd?: IsoDateString
|
|
saleStart?: IsoDateString
|
|
status: IndJobStatusOptions
|
|
updated?: IsoDateString
|
|
projectedCost?: number
|
|
projectedRevenue?: number
|
|
runtime?: number
|
|
}
|
|
|
|
export type IndTransaction = IndTransactionRecord;
|