import { IEmployee } from "./employee";

export type Consumption = {
  id: string; 
  employe: IEmployee; 
  tanker: string;
  date: string; 
  product: string;
  quantity: number;
  totalAmount: number;
  puTTC: number; 
  zipCode: string;
  city: string;
  normalConsumption: boolean; 
  fuelCardNumber: string; 
  causes?: string;
  observation?: string;
  sendMail: boolean;
  justification?: string;
  managed: boolean;
  // New fields for table columns
  cardNumber?: string;
  driverName?: string;
  transactionDate?: string;
  vehicle?: string;
  fuelType?: string;
  amount?: string;
  telephone?: string;
  department?: string;
  // New fields for consumption details
  transactionAddress?: string;
  consumptionDetails?: string;
};
