486 lines
13 KiB
XML
486 lines
13 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<RelativeLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:background="@drawable/sales_screen_10dp"
|
||
|
|
android:backgroundTint="@color/lightgreybackground"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_margin="15dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/itemcontainar"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/combochange"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="3">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/billingaddCustomer"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="35dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/grey_bordernew1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="27dp"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text=" Select Customer "
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:drawableRight="@drawable/dropdown"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13dp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_marginStart="@dimen/dp_10"
|
||
|
|
android:background="@drawable/user"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Items : 3"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textSize="13sp" />
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Qty : 7 "
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textSize="13sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:id="@+id/viewSummary"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/viewSummaryImage"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="35dp"
|
||
|
|
android:src="@drawable/icon_up_arrow"
|
||
|
|
app:tint="@color/layoutBlueTheme">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_5"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:background="@color/selectedGreen"
|
||
|
|
android:text="Cash"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textStyle="bold">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Card">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="UPi">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
<Button
|
||
|
|
android:id="@+id/advanceAmountLL"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="65dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Credit">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="end">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="7dp"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:focusable="false"
|
||
|
|
android:clickable="false"
|
||
|
|
android:id="@+id/advanceAmountIV"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/advance_amount_icon"
|
||
|
|
app:tint="#808080" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/creditCustomers"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:background="@drawable/icon_credit_customer">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/handsym"
|
||
|
|
android:layout_width="27dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:src="@drawable/unpaid"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/holdRecallParentSummary"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:layout_marginVertical="3dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/btnhold_Cmn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_marginStart="@dimen/dp_5"
|
||
|
|
android:layout_marginLeft="@dimen/sp_5"
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:layout_marginEnd="@dimen/dp_5"
|
||
|
|
android:layout_marginBottom="@dimen/dp_5"
|
||
|
|
android:background="@drawable/search_bg_white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:drawableStart="@drawable/pause"
|
||
|
|
android:drawableTint="@color/white"
|
||
|
|
android:drawablePadding="2dp"
|
||
|
|
android:text=" Hold"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="12dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:layout_marginHorizontal="7dp"
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="#4EB14E">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="3.3">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Total"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="26sp">
|
||
|
|
</TextView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/ripple_effect"
|
||
|
|
android:id="@+id/submit_btn"
|
||
|
|
android:layout_weight="2.1"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/submitTotal"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text=" \u20b9 100.0"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="23sp"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginRight="@dimen/_20dp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/vector_90">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginStart="3dp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/navbar2custlist"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/testView"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@android:drawable/editbox_background"
|
||
|
|
android:drawableEnd="@drawable/dropdown"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:hint="Customer Name "
|
||
|
|
android:padding="5dp" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|