Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sai Srinivas
GEN_ERP_2025
Commits
33d1b84a
Commit
33d1b84a
authored
Nov 28, 2025
by
Sai Srinivas
Browse files
contact permission fixed
parents
b35acfea
9fbbf730
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/screens/serviceEngineer/VisitDetails.dart
View file @
33d1b84a
...
...
@@ -1019,6 +1019,8 @@ class _VisitdetailsState extends State<Visitdetails> {
width:
double
.
infinity
,
height:
350
,
child:
ListView
.
builder
(
shrinkWrap:
true
,
//
physics:
NeverScrollableScrollPhysics
(),
//
padding:
EdgeInsets
.
all
(
12
),
itemCount:
complaintBillList
!.
length
,
itemBuilder:
(
context
,
index
)
{
...
...
@@ -1027,8 +1029,7 @@ class _VisitdetailsState extends State<Visitdetails> {
margin:
EdgeInsets
.
only
(
bottom:
12
),
elevation:
0
,
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
12
)),
child:
Padding
(
padding:
const
EdgeInsets
.
all
(
14
),
child:
Padding
(
padding:
const
EdgeInsets
.
all
(
14
),
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
...
...
@@ -1052,7 +1053,7 @@ class _VisitdetailsState extends State<Visitdetails> {
),
clipBehavior:
Clip
.
antiAlias
,
child:
SvgPicture
.
asset
(
"assets/svg/
compliant_list
_ic.svg"
,
"assets/svg/
order/tpc_details_req
_ic.svg"
,
),
),
...
...
@@ -1065,30 +1066,34 @@ class _VisitdetailsState extends State<Visitdetails> {
children:
[
Text
(
item
.
narration
??
"-"
,
style:
const
TextStyle
(
fontFamily:
"Plus Jakarta Sans"
,
fontWeight:
FontWeight
.
w400
,
style:
TextStyle
(
fontFamily:
"JakartaMedium"
,
fontSize:
14
,
color:
Colors
.
black87
,
color:
AppColors
.
semi_black
,
),
),
const
SizedBox
(
height:
3
),
Text
(
item
.
dueDate
??
"
-
"
,
if
(
item
.
billPaid
!=
"0"
)
Text
(
item
.
totalAmount
??
""
,
style:
TextStyle
(
fontFamily:
"JakartaRegular"
,
fontSize:
12
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
grey
.
shade600
,
height:
1.4
,
),
),
fontSize:
14
,
color:
AppColors
.
app_blue
,
),),
],
),
),
if
(
item
.
billPaid
!=
"1"
)
Text
(
item
.
totalAmount
??
""
,
style:
TextStyle
(
fontSize:
14
,
color:
AppColors
.
app_blue
,
),),
// Call
if
(
item
.
billPaid
=
=
"0"
)
if
(
item
.
billPaid
!
=
"0"
)
InkResponse
(
onTap:
(){
var
homeProvider
=
Provider
.
of
<
HomescreenNotifier
>(
...
...
@@ -1106,13 +1111,52 @@ class _VisitdetailsState extends State<Visitdetails> {
))
);
},
child:
Container
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
12
,
vertical:
6
),
decoration:
BoxDecoration
(
color:
Colors
.
white
,
border:
Border
.
all
(
color:
AppColors
.
app_blue
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
8
),
),
child:
Text
(
"Pay Now"
,
style:
TextStyle
(
fontSize:
14
,
color:
App
Colors
.
app_blue
,
color:
Colors
.
black87
,
),),
),
)
],
),
SizedBox
(
height:
10
,),
Row
(
children:
[
Expanded
(
flex:
2
,
child:
Text
(
"Time"
,
style:
TextStyle
(
fontSize:
14
,
fontFamily:
"JakartaSemiBold"
,
),
),
),
Expanded
(
flex:
7
,
child:
DottedLine
(
dashGapLength:
4
,
dashGapColor:
Colors
.
white
,
dashColor:
AppColors
.
grey_semi
,
dashLength:
2
,
lineThickness:
0.5
,
),
),
],
),
SizedBox
(
height:
4
,),
_detailRow
(
"Bill Date"
,
item
.
billDate
),
_detailRow
(
"Due Date"
,
item
.
dueDate
),
],
),
),
...
...
@@ -1345,18 +1389,28 @@ class _VisitdetailsState extends State<Visitdetails> {
Widget
_detailRow
(
String
title
,
String
?
value
)
{
return
Padding
(
padding:
const
EdgeInsets
.
only
(
bottom:
8
),
padding:
EdgeInsets
.
symmetric
(
vertical:
3
,
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Text
(
"
$title
: "
,
style:
TextStyle
(
fontWeight:
FontWeight
.
bold
,
fontSize:
14
),
),
Expanded
(
child:
Text
(
"
$title
: "
,
style:
TextStyle
(
fontFamily:
"JakartaRegular"
,
fontSize:
14
,
color:
AppColors
.
semi_black
,
),
),
),
Text
(
value
??
"--"
,
style:
TextStyle
(
fontSize:
14
),
style:
TextStyle
(
fontSize:
14
,
color:
AppColors
.
grey_semi
,
),
),
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment