print station name in offers and orders desc
This commit is contained in:
@@ -38,7 +38,7 @@ public interface Offer extends Comparable<Offer> {
|
||||
}
|
||||
|
||||
default String toPString(){
|
||||
return String.format("%s (%.0f)", getVendor().getPlace().getName(), getPrice());
|
||||
return String.format("%.0f (%s - %s)", getPrice(), getVendor().getPlace().getName(), getVendor().getName());
|
||||
}
|
||||
|
||||
default String toIString(){
|
||||
|
||||
Reference in New Issue
Block a user