Skip to content

Commit

Permalink
kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-cejchan committed Jun 18, 2024
1 parent c4dd181 commit 43a8c55
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions food_and_order_middleware/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<description>Middleware for food ordering app</description>
<properties>
<java.version>21</java.version>
<kotlin.version>1.5.10</kotlin.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -84,6 +85,26 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="row">
<div *ngFor="let order of orders; let i = index"
class="card col-lg-3 col-md-6 p-0 m-0 text-white bg-{{orderImportanceColour(order)}}">
class="card col-lg-2 col-md-4 p-0 m-0 text-white bg-{{orderImportanceColour(order)}}">
<div class="card-body" (click)="updateStatus(order, i)">
<h3 class="card-title">{{order.order_id}} • {{toLocalDate(order.orderCreated)}}</h3>
<h4 class="card-subtitle mb-2 text-muted">{{order.orderStatus}}</h4>
Expand Down

0 comments on commit 43a8c55

Please sign in to comment.