add type of transporrt to dispatch

This commit is contained in:
Aadil Ayub 2024-02-25 19:41:00 +05:00
parent f152476d8f
commit 2654b4a9c4
1 changed files with 23 additions and 0 deletions

View File

@ -32,6 +32,29 @@ const Dispatches: CollectionConfig = {
relationTo: 'retailers',
hasMany: false,
},
{
name: 'typeOfTransportation',
type: 'select',
hasMany: true,
options: [
{
label: 'Air',
value: 'air'
},
{
label: 'Car',
value: 'car'
},
{
label: 'Train',
value: 'train'
},
{
label: 'Boat',
value: 'boat'
}
]
},
{
name: 'courier',
type: 'relationship',