Skip to content

Commit

Permalink
Merge pull request #74 from nikele2001/branch-addFinancialPlanTag
Browse files Browse the repository at this point in the history
Remove Financial Plan Title
  • Loading branch information
sopa301 authored Oct 18, 2023
2 parents 2adc396 + 6f6648b commit 00ba3be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/java/seedu/address/ui/PersonCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public class PersonCard extends UiPart<Region> {
@FXML
private Label nextOfKinPhone;
@FXML
private Label financialPlansTitle;
@FXML
private FlowPane financialPlans;
@FXML
private Label tagsTitle;
Expand All @@ -68,7 +66,6 @@ public PersonCard(Person person, int displayedIndex) {
nextOfKinName.setText(nextOfKinNameText);
String nextOfKinPhoneText = "Next-of-kin Phone: " + person.getNextOfKinPhone().value;
nextOfKinPhone.setText(nextOfKinPhoneText);
financialPlansTitle.setText(person.getFinancialPlans().isEmpty() ? "" : "Financial Plan(s): ");
person.getFinancialPlans().stream()
.sorted(Comparator.comparing(financialPlan -> financialPlan.financialPlanName))
.forEach(financialPlan -> financialPlans.getChildren().add(new Label(financialPlan.financialPlanName)));
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/view/PersonListCard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</Label>
<Label fx:id="name" styleClass="cell_big_label" text="\$first" />
</HBox>
<Label fx:id="financialPlansTitle" styleClass="cell_small_label" text="\$financialPlansTitle" />
<FlowPane fx:id="financialPlans" />
<Label fx:id="phone" styleClass="cell_small_label" text="\$phone" />
<Label fx:id="address" styleClass="cell_small_label" text="\$address" />
Expand Down

0 comments on commit 00ba3be

Please sign in to comment.