Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
Byodv2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dio Maulana
Byodv2
Commits
ab387a28
Commit
ab387a28
authored
Oct 19, 2022
by
Jasa Digital
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overflow fixed viewbill dan konfirmasi page
parent
8148fb6c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
358 additions
and
86 deletions
+358
-86
confirm_order.dart
lib/ui/confirm_order/confirm_order.dart
+306
-50
order_view_bill_new.dart
lib/ui/viewbill/order_view_bill_new.dart
+48
-34
view_bill_new.dart
lib/ui/viewbill/view_bill_new.dart
+4
-2
No files found.
lib/ui/confirm_order/confirm_order.dart
View file @
ab387a28
This diff is collapsed.
Click to expand it.
lib/ui/viewbill/order_view_bill_new.dart
View file @
ab387a28
...
...
@@ -214,40 +214,54 @@ class _OrderViewBillNewState extends State<OrderViewBillNew> {
fontWeight:
FontWeight
.
w300
,
),
),
(
widget
.
billDetail
.
variant
.
isNotEmpty
)
?
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisSize:
MainAxisSize
.
min
,
children:
[
for
(
int
k
=
0
;
k
<
widget
.
billDetail
.
variant
.
length
;
k
++)
Row
(
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
[
defaultText
(
// Container(
// width: MediaQuery.of(context).size.width -
// paddingLeftRightBill -
// paddingLeftRightBill -
// 88, // 88 itu besar image dan space sized box pemisah
// color: Colors.red,
// child: Row(
// mainAxisAlignment: MainAxisAlignment.start,
// children: [
// defaultText(
// context,
// "${widget.billDetail.variant[k].caption} : ",
// style: viewbillStyle(
// font: 12,
// fontWeight: FontWeight.w300,
// ),
// ),
// defaultText(
// context,
// widget.billDetail.variant[k].variantName
// .join(', '),
// style: viewbillStyle(
// font: 12,
// fontWeight: FontWeight.w300,
// ),
// )
// ],
// ),
// ),
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
-
paddingLeftRightBill
-
paddingLeftRightBill
-
88
,
child:
defaultText
(
context
,
"
${widget.billDetail.variant[k].caption}
: "
,
"
${widget.billDetail.variant[k].caption}
:
${widget.billDetail.variant[k].variantName.join(', ')}
"
,
// maxLines: 2,
// overFlow: TextOverflow.ellipsis,
style:
viewbillStyle
(
font:
12
,
fontWeight:
FontWeight
.
w300
,
),
),
defaultText
(
context
,
widget
.
billDetail
.
variant
[
k
].
variantName
.
join
(
', '
),
style:
viewbillStyle
(
font:
12
,
fontWeight:
FontWeight
.
w300
,
),
)
],
)
],
)
:
const
SizedBox
(),
const
SizedBox
(
height:
6
,
),
...
...
lib/ui/viewbill/view_bill_new.dart
View file @
ab387a28
...
...
@@ -1107,9 +1107,11 @@ class CoreBill extends StatelessWidget {
// );
// }
},
child:
const
ButtonComponent
(
child:
ButtonComponent
(
buttonColor:
successColor
,
teksButton:
'Buat Pesanan Baru'
,
teksButton:
(
isHistory
)
?
'Kembali'
:
'Buat Pesanan Baru'
,
),
),
],
...
...
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