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