add courier fields (#10)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2654b4a9c4
commit
ac387d41ad
@ -10,10 +10,35 @@ const Couriers: CollectionConfig = {
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'name', // required
|
||||
type: 'text', // required
|
||||
required: true,
|
||||
},
|
||||
name: 'name',
|
||||
type: 'text',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'startingPoint',
|
||||
label: 'Traveling from',
|
||||
type: 'text', // TODO use geopicker here
|
||||
},
|
||||
{
|
||||
name: 'destination',
|
||||
label: 'Traveling to',
|
||||
type: 'text' // TODO user geopicker here
|
||||
},
|
||||
{
|
||||
name: 'departureDate',
|
||||
label: 'Departure date',
|
||||
type: 'date'
|
||||
},
|
||||
{
|
||||
name: 'arrivalDate',
|
||||
label: 'Arrival date',
|
||||
type: 'date'
|
||||
},
|
||||
{
|
||||
name: 'weightAllowance',
|
||||
label: 'Weight Allowance (KG)',
|
||||
type: 'number'
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user