feature: Add contract features to dashboard page

This commit is contained in:
Keith Solomon
2026-02-11 19:14:48 -06:00
parent c935ac0dda
commit 86c58e8930
7 changed files with 587 additions and 76 deletions

View File

@@ -667,16 +667,6 @@ try {
$errorMessage = $e->getMessage();
}
/**
* Format a string by replacing underscores with spaces and capitalizing the first letter.
*
* @param string $value The string to format.
* @return string The formatted string.
*/
function formatString( $value ): string {
return ucfirst( strtolower( str_replace( '_', ' ', $value ) ) );
}
$deliveryReadyByTradeSymbol = array();
foreach ( $miningShips as $miningShip ) {
$inventory = (array) ( $miningShip['cargo']['inventory'] ?? array() );