Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
meser
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
Muhammad Suryono
meser
Commits
daa844b6
Commit
daa844b6
authored
Aug 26, 2020
by
Alfansyah Fadlian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed cart
parent
799b9512
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
13 deletions
+28
-13
Project.xml
.idea/codeStyles/Project.xml
+24
-0
CartActivity.java
app/src/main/java/com/yono/messeripos/CartActivity.java
+0
-11
activity_invoice.xml
app/src/main/res/layout/activity_invoice.xml
+1
-1
activity_payment.xml
app/src/main/res/layout/activity_payment.xml
+2
-1
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
.idea/codeStyles/Project.xml
View file @
daa844b6
<component
name=
"ProjectCodeStyleConfiguration"
>
<code_scheme
name=
"Project"
version=
"173"
>
<DBN-PSQL>
<case-options
enabled=
"true"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
/>
</DBN-PSQL>
<DBN-SQL>
<case-options
enabled=
"true"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
>
<option
name=
"STATEMENT_SPACING"
value=
"one_line"
/>
<option
name=
"CLAUSE_CHOP_DOWN"
value=
"chop_down_if_statement_long"
/>
<option
name=
"ITERATION_ELEMENTS_WRAPPING"
value=
"chop_down_if_not_single"
/>
</formatting-settings>
</DBN-SQL>
<DBN-PSQL>
<case-options
enabled=
"true"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
...
...
app/src/main/java/com/yono/messeripos/CartActivity.java
View file @
daa844b6
...
...
@@ -127,17 +127,6 @@ public class CartActivity extends AppCompatActivity {
}
});
btnCheckout
=
findViewById
(
R
.
id
.
btCheckout
);
//
btnCheckout
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
startActivity
(
new
Intent
(
CartActivity
.
this
,
PaymentActivity
.
class
));
finish
();
}
});
}
}
...
...
app/src/main/res/layout/activity_invoice.xml
View file @
daa844b6
...
...
@@ -48,7 +48,7 @@
android:id=
"@+id/btCheckout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/title_
checkout
"
android:text=
"@string/title_
success
"
android:padding=
"15dp"
android:textSize=
"16sp"
android:layout_margin=
"10dp"
...
...
app/src/main/res/layout/activity_payment.xml
View file @
daa844b6
...
...
@@ -18,7 +18,8 @@
android:id=
"@+id/cvInvoice"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"12dp"
android:padding=
"18dp"
android:layout_marginBottom=
"10dp"
android:layout_margin=
"16dp"
app:cardCornerRadius=
"20dp"
android:scrollbars=
"vertical"
...
...
app/src/main/res/values/strings.xml
View file @
daa844b6
...
...
@@ -23,5 +23,6 @@
<string
name=
"stock"
>
Stock
</string>
<string
name=
"add"
>
Add
</string>
<string
name=
"hint_billing"
>
Billing
</string>
<string
name=
"title_success"
>
Success
</string>
</resources>
\ No newline at end of file
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