]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add order quantity to cargo invoice label (#28821)
authorlzk <124214523+lzk228@users.noreply.github.com>
Thu, 13 Jun 2024 18:36:38 +0000 (20:36 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 18:36:38 +0000 (10:36 -0800)
Content.Server/Cargo/Systems/CargoSystem.Orders.cs
Resources/Locale/en-US/cargo/cargo-console-component.ftl

index c519362945e6428e92562cc4fc57d22593bba461..a288d7b07d4ab63fa982cfa7dd4b08c7b2e3afa2 100644 (file)
@@ -506,6 +506,7 @@ namespace Content.Server.Cargo.Systems
                         "cargo-console-paper-print-text",
                         ("orderNumber", order.OrderId),
                         ("itemName", MetaData(item).EntityName),
+                        ("orderQuantity", order.OrderQuantity),
                         ("requester", order.Requester),
                         ("reason", order.Reason),
                         ("approver", order.Approver ?? string.Empty)),
index 532481f4a23349e7e200793f62da74e24895fc58..3c032488b522e2f3dff7c1317e31eb17f911e568 100644 (file)
@@ -36,6 +36,7 @@ cargo-console-paper-print-name = Order #{$orderNumber}
 cargo-console-paper-print-text =
     Order #{$orderNumber}
     Item: {$itemName}
+    Quantity: {$orderQuantity}
     Requested by: {$requester}
     Reason: {$reason}
     Approved by: {$approver}