Skip to content

Commit b8322fb

Browse files
946331: Need to update Inventory Use Case Sample Based on UX Review
1 parent 03556b1 commit b8322fb

File tree

2 files changed

+9
-17
lines changed
  • Inventory Management and Invoice Generating/Inventory Application/src

2 files changed

+9
-17
lines changed

Inventory Management and Invoice Generating/Inventory Application/src/App.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
644644
if ((gridInstance.current.dataSource as any).length) {
645645
printTable(
646646
(gridInstance.current),
647-
"ABC SUPERMARKET",
647+
"ShopNezt Supermarket",
648648
(document.getElementById("billNoInput") as HTMLInputElement).value,
649649
(document.getElementById("customerName") as HTMLInputElement).value,
650650
(document.getElementById("phone-input") as HTMLInputElement).value,
@@ -1140,7 +1140,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
11401140

11411141
return (
11421142
<div>
1143-
<div className="input-container-title">ABC SUPERMARKET POINT OF SALE (POS)</div>
1143+
<div className="input-container-title">ShopNezt Supermarket Point Of Sale (POS)</div>
11441144
{/* Customer details Header element */}
11451145
<div className="header" style={{marginTop: "15px", height: '20%'}}>
11461146
<table className="header-table" style={{marginLeft: '40px'}}>
@@ -1332,15 +1332,15 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
13321332
<div className="col-xs-3 col-sm-3 ">
13331333
<div className="e-card" id="poscards">
13341334
<div className="e-card-actions">
1335-
<div className="e-card-btn-txt" id="deliverOptionDiv" style={{ background: 'linear-gradient(to right, rgb(251, 146, 60), rgb(224 212 55) 50%, rgb(251, 146, 60))'}}>
1335+
<div className="e-card-btn-txt" id="deliverOptionDiv" style={{ background: 'rgba(251, 140, 0, 0.7)'}}>
13361336
<ButtonComponent
13371337
ref={buttonRef}
13381338
onClick={onClickToggle}
13391339
isToggle={true}
13401340
title="Toggle Delivery type"
13411341
>
13421342
<span>Delivery Type:</span> &nbsp;
1343-
<span ref={deliverytypeRef} style={{ color: deliveryType === "Take Away" ? "rgb(8 168 67)" : "red" }}>
1343+
<span ref={deliverytypeRef} style={{ color: deliveryType === "Take Away" ? "green" : "red" }}>
13441344
{deliveryType}
13451345
</span>
13461346
</ButtonComponent>
@@ -1352,7 +1352,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
13521352
<div className="col-xs-3 col-sm-3 ">
13531353
<div className="e-card" id="poscards">
13541354
<div className="e-card-actions">
1355-
<div className="e-card-btn-txt" id="cardPayButtonDiv" style={{ background: 'linear-gradient(to right, rgb(16, 18, 240), rgb(141 149 232) 50%, rgb(16, 18, 240))'}}>
1355+
<div className="e-card-btn-txt" id="cardPayButtonDiv" style={{ background: 'rgb(79, 70, 229)'}}>
13561356
<ButtonComponent
13571357
id="cardPayButton"
13581358
title="Click to enter card payment"
@@ -1373,7 +1373,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
13731373
<div className="col-xs-3 col-sm-3 ">
13741374
<div className="e-card" id="poscards">
13751375
<div className="e-card-actions">
1376-
<div className="e-card-btn-txt" id="UPIPayButtondiv" style={{ background: 'linear-gradient(to right, #15803d, #55e189 50%, #15803d)'}}>
1376+
<div className="e-card-btn-txt" id="UPIPayButtondiv" style={{ background: 'green'}}>
13771377
<ButtonComponent
13781378
id="UPIPayButton"
13791379
title="Click to enter UPI payment"
@@ -1394,7 +1394,7 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';
13941394
<div className="col-xs-3 col-sm-3 ">
13951395
<div className="e-card" id="poscards">
13961396
<div className="e-card-actions">
1397-
<div className="e-card-btn-txt" id="totalNetAmount" style={{ background: 'linear-gradient(to right, rgb(251 60 60), rgb(239 179 87) 50%, rgb(251 60 60))'}}>
1397+
<div className="e-card-btn-txt" id="totalNetAmount" style={{ background: 'black'}}>
13981398
<ButtonComponent
13991399
id="cashPayButton"
14001400
title="Click to enter cash payment"

Inventory Management and Invoice Generating/Inventory Application/src/index.css

+2-10
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
margin: 0;
135135
padding: 5px;
136136
text-align: center;
137-
text-transform: uppercase;
138137
font-size: 19px;
139138
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
140139
font-weight: bold;
@@ -418,13 +417,12 @@
418417
.e-card {
419418
margin: 10px 10px 0 10px;
420419
border-radius: 5px;
421-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
422420
}
423421

424422
/* Dialogs */
425423
.e-dialog .e-header,
426424
#targetElement2 .e-footer-content .e-control.e-btn {
427-
background-color: #fb923c;
425+
background-color: rgb(79, 70, 229);
428426
color: white;
429427
font-weight: bold;
430428
}
@@ -473,12 +471,6 @@ body {
473471
overflow: hidden;
474472
}
475473

476-
/* Additional Styling */
477-
#poscards {
478-
border-radius: 5px;
479-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
480-
}
481-
482474
#cashCalculator {
483475
margin-top: 20px;
484476
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@@ -533,7 +525,7 @@ body {
533525
#cashCalculator td:last-child {
534526
text-align: right;
535527
font-weight: bold;
536-
color: #1b8ef2;
528+
color: #111827;
537529
font-size: 17px;
538530
/* Text color for balance amount */
539531
}

0 commit comments

Comments
 (0)