Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
KGOrders
Overview
Overview
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
Cam Hayes
KGOrders
Commits
8fc96250
Commit
8fc96250
authored
Feb 07, 2025
by
cam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDF Corrugated Report is finished and fixed a bug with editting corrugated orders
parent
f22ff51b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
18 deletions
+12
-18
Untitled.fr3
kgOrdersClient/Untitled.fr3
+0
-0
Lookup.ServiceImpl.pas
kgOrdersServer/Source/Lookup.ServiceImpl.pas
+0
-0
rOrderCorrugated.pas
kgOrdersServer/Source/rOrderCorrugated.pas
+11
-17
kgOrdersServer.ini
kgOrdersServer/kgOrdersServer.ini
+1
-1
No files found.
kgOrdersClient/Untitled.fr3
View file @
8fc96250
This diff is collapsed.
Click to expand it.
kgOrdersServer/Source/Lookup.ServiceImpl.pas
View file @
8fc96250
This diff is collapsed.
Click to expand it.
kgOrdersServer/Source/rOrderCorrugated.pas
View file @
8fc96250
...
@@ -146,7 +146,6 @@ uses
...
@@ -146,7 +146,6 @@ uses
procedure
TrptOrderCorrugated
.
PopulateColorTable
;
procedure
TrptOrderCorrugated
.
PopulateColorTable
;
var
var
frxTable
:
TfrxTableObject
;
row
:
TfrxCustomTableRow
;
row
:
TfrxCustomTableRow
;
colorArray
:
TJSONArray
;
colorArray
:
TJSONArray
;
colorsObject
,
colorObject
:
TJSONObject
;
colorsObject
,
colorObject
:
TJSONObject
;
...
@@ -155,28 +154,23 @@ var
...
@@ -155,28 +154,23 @@ var
temp
:
TObject
;
temp
:
TObject
;
begin
begin
logger
.
Log
(
1
,
'Adding Color Rows'
);
logger
.
Log
(
1
,
'Adding Color Rows'
);
frxTable
:=
frxOrderCorrugated
.
FindObject
(
'ColorTable'
)
as
TfrxTableObject
;
colorsString
:=
uqOrderCorrugated
.
FieldByName
(
'colors_colors'
).
AsString
;
colorsString
:=
uqOrderCorrugated
.
FieldByName
(
'colors_colors'
).
AsString
;
colorsObject
:=
TJSONObject
.
ParseJSONValue
(
colorsString
)
as
TJSONObject
;
colorsObject
:=
TJSONObject
.
ParseJSONValue
(
colorsString
)
as
TJSONObject
;
colorArray
:=
TJSONArray
(
colorsObject
.
GetValue
<
TJSONArray
>(
'items'
));
colorArray
:=
TJSONArray
(
colorsObject
.
GetValue
<
TJSONArray
>(
'items'
));
for
i
:=
0
to
colorArray
.
Count
-
1
do
begin
row
:=
frxOrderCorrugated
.
FindObject
(
'ColorRow'
+
IntToStr
(
i
+
1
))
as
TfrxCustomTableRow
;
colorObject
:=
colorArray
.
Items
[
i
]
as
TJSONObject
;
row
.
Cells
[
4
].
Text
:=
colorObject
.
GetValue
<
string
>(
'#'
);
row
.
Cells
[
5
].
Text
:=
colorObject
.
GetValue
<
string
>(
'Color'
);
row
.
Cells
[
6
].
Text
:=
colorObject
.
GetValue
<
string
>(
'LPI'
);
row
.
Cells
[
7
].
Text
:=
colorObject
.
GetValue
<
string
>(
'Size'
);
end
;
for
i
:=
0
to
colorArray
.
Count
-
1
do
colorsObject
.
Free
;
begin
row
:=
frxOrderCorrugated
.
FindObject
(
'ColorRow'
+
IntToStr
(
i
+
1
))
as
TfrxCustomTableRow
;
colorObject
:=
colorArray
.
Items
[
i
]
as
TJSONObject
;
{row.Cells[5].DataField := colorObject.GetValue<string>('#');
row.Cells[6].DataField := colorObject.GetValue<string>('Color');
row.Cells[7].DataField := colorObject.GetValue<string>('LPI');
row.Cells[8].DataField := colorObject.GetValue<string>('Size');
}
row
.
Cells
[
4
].
Text
:=
colorObject
.
GetValue
<
string
>(
'#'
);
row
.
Cells
[
5
].
Text
:=
colorObject
.
GetValue
<
string
>(
'Color'
);
row
.
Cells
[
6
].
Text
:=
colorObject
.
GetValue
<
string
>(
'LPI'
);
row
.
Cells
[
7
].
Text
:=
colorObject
.
GetValue
<
string
>(
'Size'
);
end
;
end
;
end
;
...
...
kgOrdersServer/kgOrdersServer.ini
View file @
8fc96250
[Settings]
[Settings]
MemoLogLevel
=
4
MemoLogLevel
=
4
FileLogLevel
=
5
FileLogLevel
=
5
LogFileNum
=
1
87
LogFileNum
=
1
96
webClientVersion
=
1.0.0
webClientVersion
=
1.0.0
[Database]
[Database]
...
...
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