mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 19:58:55 +03:30
Remove transfer for items in packages
This commit is contained in:
@@ -431,11 +431,10 @@ class MyItemsDetailsDataBox extends StatelessWidget {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
height: 20,
|
height: 20,
|
||||||
),
|
),
|
||||||
|
if (datas.packageId == "null")
|
||||||
if (datas.repair == 0)
|
if (datas.repair == 0)
|
||||||
((datas.packageId == "null") &&
|
|
||||||
(userData['roles']?.contains('Supervisor') &&
|
(userData['roles']?.contains('Supervisor') &&
|
||||||
datas.hospital
|
datas.hospital.contains(userData['medical_center']) ||
|
||||||
.contains(userData['medical_center'])) ||
|
|
||||||
(userData['roles']?.contains('User')))
|
(userData['roles']?.contains('User')))
|
||||||
? TransferDestroyButton(
|
? TransferDestroyButton(
|
||||||
deviceBlockSize: _deviceBlockSize,
|
deviceBlockSize: _deviceBlockSize,
|
||||||
|
|||||||
Reference in New Issue
Block a user