From: lzk <124214523+lzk228@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:36:38 +0000 (+0200) Subject: Add order quantity to cargo invoice label (#28821) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c3720f9fd9922c37c5434ad8e93b67734789db83;p=space-station-14.git Add order quantity to cargo invoice label (#28821) --- diff --git a/Content.Server/Cargo/Systems/CargoSystem.Orders.cs b/Content.Server/Cargo/Systems/CargoSystem.Orders.cs index c519362945..a288d7b07d 100644 --- a/Content.Server/Cargo/Systems/CargoSystem.Orders.cs +++ b/Content.Server/Cargo/Systems/CargoSystem.Orders.cs @@ -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)), diff --git a/Resources/Locale/en-US/cargo/cargo-console-component.ftl b/Resources/Locale/en-US/cargo/cargo-console-component.ftl index 532481f4a2..3c032488b5 100644 --- a/Resources/Locale/en-US/cargo/cargo-console-component.ftl +++ b/Resources/Locale/en-US/cargo/cargo-console-component.ftl @@ -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}