mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 00:48:56 +03:30
testing
This commit is contained in:
@@ -26,7 +26,7 @@ class ItemHistoryDate extends StatelessWidget {
|
||||
width: 6.0,
|
||||
),
|
||||
Text(
|
||||
items.fromDate!.toString(),
|
||||
items.fromDate.toString(),
|
||||
style: TextStyle(
|
||||
fontSize: 4 * _deviceBlockSize,
|
||||
fontWeight: FontWeight.w700,
|
||||
@@ -49,7 +49,7 @@ class ItemHistoryDate extends StatelessWidget {
|
||||
width: 6.0,
|
||||
),
|
||||
Text(
|
||||
items.toDate!.toString(),
|
||||
items.toDate.toString(),
|
||||
style: TextStyle(
|
||||
fontSize: 4 * _deviceBlockSize,
|
||||
fontWeight: FontWeight.w700,
|
||||
|
||||
@@ -130,7 +130,7 @@ class RequestsDataBox extends StatelessWidget {
|
||||
Provider.of<MyItemProvider>(context,
|
||||
listen: false)
|
||||
.verifyItemRequests(
|
||||
item!.id, 'approved')
|
||||
item!.requestId!, 'approved')
|
||||
.then((result) {
|
||||
if (result) {
|
||||
print('true');
|
||||
@@ -184,7 +184,7 @@ class RequestsDataBox extends StatelessWidget {
|
||||
Provider.of<MyItemProvider>(context,
|
||||
listen: false)
|
||||
.verifyItemRequests(
|
||||
item!.id, 'rejected')
|
||||
item!.requestId!, 'rejected')
|
||||
.then((result) {
|
||||
if (result) {
|
||||
print('false');
|
||||
|
||||
Reference in New Issue
Block a user