++GasOrdini

This commit is contained in:
Surya Paolo
2023-12-21 02:23:58 +01:00
parent 31014b21c0
commit 53208ab1ad
9 changed files with 120 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import { IAction } from '@src/model/Projects'
import { IFriends, IGroupShort, IMyGroup, IPaymentType } from '@src/model/UserStore'
import {
IDepartment, IProducer, IShareWithUs, IStorehouse, IProvider, IScontistica, ICategory
IDepartment, IProducer, IShareWithUs, IStorehouse, IProvider, IScontistica, ICategory, IGasordine
} from '@src/model/Products'
import { IUserFields, IUserProfile } from '@src/model/UserStore'
@@ -442,6 +442,7 @@ export interface IGlobalState {
calzoom: ICalZoom[],
producers: IProducer[],
providers: IProvider[],
gasordines: IGasordine[],
scontisticas: IScontistica[],
storehouses: IStorehouse[],
departments: IDepartment[],

View File

@@ -49,6 +49,7 @@ export interface IOrder {
idProduct?: string
idProducer?: string
idProvider?: string
idGasordine?: string
idStorehouse?: string
idScontisticas?: string[]
price: number
@@ -65,6 +66,7 @@ export interface IOrder {
storehouse?: IStorehouse
scontisticas?: IScontistica[]
provider?: IProvider
gasordine?: IGasordine
date_created?: Date
date_checkout?: Date
date_payment?: Date
@@ -130,6 +132,19 @@ export interface IProvider {
website?: string,
}
export interface IGasordine {
_id?: any
idapp?: string
active: boolean
name?: string,
description?: string,
referent?: string,
city?: string,
img?: string,
dataora_chiusura?: Date,
dataora_ritiro?: Date,
}
export interface IScontistica {
_id?: any
idapp?: string