This commit is contained in:
Odein
2023-11-22 14:53:35 +04:30
parent 22d0390e90
commit cd3b1080f5
298 changed files with 800 additions and 413 deletions
BIN
View File
Binary file not shown.
Regular → Executable
View File
Regular → Executable
View File
Vendored Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
View File
Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 541 B

After

Width:  |  Height:  |  Size: 541 B

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 787 B

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 768 B

After

Width:  |  Height:  |  Size: 768 B

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
Generated Regular → Executable
View File
Regular → Executable
View File
View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 900 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File
View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

View File
View File
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+3 -5
View File
@@ -11,8 +11,6 @@ class Url {
static const String getUserInfo = '$baseUrl/GetInfo'; static const String getUserInfo = '$baseUrl/GetInfo';
// static const String testResults = '$baseUrl/TestResults';
static const String filterItems = '$baseUrl/TestResults/ListFilterItems'; static const String filterItems = '$baseUrl/TestResults/ListFilterItems';
static const String labelItems = '$baseUrl/GetLabels'; static const String labelItems = '$baseUrl/GetLabels';
@@ -29,9 +27,9 @@ class Url {
static const String addImage = '$baseUrl/UploadFile'; static const String addImage = '$baseUrl/UploadFile';
// static String getUserMedicalCenterId(int id) { static const String exportItems = '$baseUrl/export/items';
// return '$baseUrl/users?medical_center_id=$id';
// } static const String exportPackages = '$baseUrl/export/packages';
static String testResults(int id) { static String testResults(int id) {
return '$baseUrl/TestResults?page=$id'; return '$baseUrl/TestResults?page=$id';
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
-1
View File
@@ -24,7 +24,6 @@ class CycleDetailObject extends Equatable {
final String description; final String description;
final String createDate; final String createDate;
final String hospitalName; final String hospitalName;
final String date; final String date;
final String sterileId; final String sterileId;
final String cycleNumber; final String cycleNumber;
Regular → Executable
+3
View File
@@ -8,6 +8,7 @@ class ItemResultObject extends Equatable {
final String userName; final String userName;
final int status; final int status;
final String? batchId; final String? batchId;
final String? udi;
ItemResultObject({ ItemResultObject({
required this.id, required this.id,
@@ -16,6 +17,7 @@ class ItemResultObject extends Equatable {
required this.userName, required this.userName,
required this.status, required this.status,
this.batchId, this.batchId,
this.udi,
}); });
@override @override
@@ -26,6 +28,7 @@ class ItemResultObject extends Equatable {
userName, userName,
status, status,
batchId!, batchId!,
udi!,
]; ];
@override @override
Regular → Executable
-1
View File
@@ -26,7 +26,6 @@ class LabelDetailsObject extends Equatable {
final String package; final String package;
final String packageId; final String packageId;
final String hospitalName; final String hospitalName;
final String createDate; final String createDate;
final String expireDate; final String expireDate;
final String sterileDate; final String sterileDate;
Regular → Executable
+30 -9
View File
@@ -1,3 +1,4 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:equatable/equatable.dart'; import 'package:equatable/equatable.dart';
class MyItemResultObject extends Equatable { class MyItemResultObject extends Equatable {
@@ -5,20 +6,14 @@ class MyItemResultObject extends Equatable {
final String name; final String name;
final String size; final String size;
final String? userName; final String? userName;
final String? fromDate;
final String? toDate;
final String? requestId; final String? requestId;
final String? userHistory;
MyItemResultObject({ MyItemResultObject({
required this.id, required this.id,
required this.name, required this.name,
required this.size, required this.size,
this.userName, this.userName,
this.fromDate,
this.toDate,
this.requestId, this.requestId,
this.userHistory,
}); });
@override @override
@@ -27,10 +22,7 @@ class MyItemResultObject extends Equatable {
name, name,
size, size,
userName!, userName!,
fromDate!,
toDate!,
requestId!, requestId!,
userHistory!,
]; ];
@override @override
@@ -66,3 +58,32 @@ class MyItemFilterObject extends Equatable {
@override @override
bool get stringify => true; bool get stringify => true;
} }
class ItemHistoryObject extends Equatable {
final String fromDate;
final String toDate;
final String userHistoryName;
final String userHistoryId;
final String userHistoryPhon;
ItemHistoryObject({
required this.fromDate,
required this.toDate,
required this.userHistoryName,
required this.userHistoryId,
required this.userHistoryPhon,
});
@override
List<Object> get props {
return [
fromDate,
toDate,
userHistoryName,
userHistoryId,
userHistoryPhon,
];
}
@override
bool get stringify => true;
}
Regular → Executable
+29 -9
View File
@@ -5,20 +5,14 @@ class MyPackageResultObject extends Equatable {
final String name; final String name;
final String createdAt; final String createdAt;
final String? userName; final String? userName;
final String? fromDate;
final String? toDate;
final String? requestId; final String? requestId;
final String? userHistory;
MyPackageResultObject({ MyPackageResultObject({
required this.id, required this.id,
required this.name, required this.name,
required this.createdAt, required this.createdAt,
this.userName, this.userName,
this.fromDate,
this.toDate,
this.requestId, this.requestId,
this.userHistory,
}); });
@override @override
@@ -27,10 +21,7 @@ class MyPackageResultObject extends Equatable {
name, name,
createdAt, createdAt,
userName!, userName!,
fromDate!,
toDate!,
requestId!, requestId!,
userHistory!,
]; ];
@override @override
@@ -60,3 +51,32 @@ class MyPackageFilterObject extends Equatable {
@override @override
bool get stringify => true; bool get stringify => true;
} }
class PackageHistoryObject extends Equatable {
final String fromDate;
final String toDate;
final String userHistoryName;
final String userHistoryId;
final String userHistoryPhon;
PackageHistoryObject({
required this.fromDate,
required this.toDate,
required this.userHistoryName,
required this.userHistoryId,
required this.userHistoryPhon,
});
@override
List<Object> get props {
return [
fromDate,
toDate,
userHistoryName,
userHistoryId,
userHistoryPhon,
];
}
@override
bool get stringify => true;
}
Regular → Executable
View File
View File
Regular → Executable
View File
+4
View File
@@ -277,6 +277,10 @@ class _CycleAddScreenState extends State<CycleAddScreen> {
initialLabelValue: initialLabelValue:
cycleProvider.initialLabelValue, cycleProvider.initialLabelValue,
index: index, index: index,
hasRemoveButton:
cycleProvider.labelValues.length > 1
? true
: false,
), ),
itemCount: itemCount:
cycleProvider.labelValues.length, cycleProvider.labelValues.length,
View File
View File
View File

Some files were not shown because too many files have changed in this diff Show More