Skip to content

Commit

Permalink
Add full phone number field to orders table
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeTheDev authored and rgalanakis committed Dec 13, 2024
1 parent ca05f42 commit b43ec38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions adminapp/src/pages/OfferingPickListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import map from "lodash/map";
import sortBy from "lodash/sortBy";
import uniqBy from "lodash/uniqBy";
import React from "react";
import { formatPhoneNumber } from "react-phone-number-input";
import { useParams } from "react-router-dom";

/**
Expand Down Expand Up @@ -215,6 +216,12 @@ export default function OfferingPickListPage() {
),
sortComparator: nameComparator,
},
{
field: "member.phone",
headerName: "Phone",
width: 125,
valueGetter: ({ row }) => formatPhoneNumber("+" + row.member.phone),
},
{
field: "member.phoneLast4",
headerName: "Phone (last 4)",
Expand Down

0 comments on commit b43ec38

Please sign in to comment.