✨feature: Add contract features to dashboard page
This commit is contained in:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user