add courier fields (#10)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2024-02-25 19:52:11 +05:00
parent 2654b4a9c4
commit ac387d41ad

View File

@ -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'
}
],
};