ソースを参照

利用実績に郵送依頼件数の列を追加

develop
sosuke.iwabuchi 2年前
コミット
a62d3c0bba
3個のファイルの変更6行の追加2行の削除
  1. +1
    -0
      src/api/custom/hello-techno/use-summary.ts
  2. +2
    -0
      src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx
  3. +3
    -2
      src/pages/dashboard/use-summary/custom/hello-techno/list.tsx

+ 1
- 0
src/api/custom/hello-techno/use-summary.ts ファイルの表示

@@ -18,6 +18,7 @@ export type UseSummary = {
parking_name?: string;

receipt_order_count: string;
mail_order_count: string;
sms_send_count: string;
sms_send_cost: string;



+ 2
- 0
src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useSelectParkingStep.tsx ファイルの表示

@@ -43,6 +43,7 @@ export default function useSelectParkingStep({ onNext }: Props) {

const customerAPI = useAPICall({
apiMethod: getHTCustomers,
backDrop: true,
onSuccess: ({ data }) => {
const options: AutoCompleteOption[] = data.records.map(
({ customer_code, name }) => {
@@ -58,6 +59,7 @@ export default function useSelectParkingStep({ onNext }: Props) {

const parkingAPI = useAPICall({
apiMethod: getHTParkings,
backDrop: true,
onSuccess: ({ data }) => {
const options: AutoCompleteOption[] = data.records.map(
({ parking_management_code, name }) => {


+ 3
- 2
src/pages/dashboard/use-summary/custom/hello-techno/list.tsx ファイルの表示

@@ -109,6 +109,7 @@ function SearchBox({ table }: CommonProps) {

const { callAPI: callGetUseSummaryYYYYMMs } = useAPICall({
apiMethod: getUseSummaryYYYYMMs,
backDrop: true,
onSuccess: ({ data: { records } }) => {
setYYYYMM(records);
},
@@ -199,7 +200,7 @@ function TableBox({ table }: CommonProps) {
{ id: "customer_name", label: "運営会社名", align: "left" },
{ id: "parking_name", label: "駐車場名", align: "left" },
{ id: "receipt_order_count", label: "領収証発行件数", align: "left" },
// { id: "", label: "郵送件数", align: "left" },
{ id: "mail_order_count", label: "郵送依頼件数", align: "left" },
{ id: "sms_send_count", label: "SMS送信件数", align: "left" },
];
const {
@@ -271,7 +272,7 @@ function Row({ data }: RowProps) {
<TableCell>{data.customer_name}</TableCell>
<TableCell>{data.parking_name}</TableCell>
<TableCell>{data.receipt_order_count}件</TableCell>
{/* <TableCell>{data.parking_name}</TableCell> */}
<TableCell>{data.mail_order_count}件</TableCell>
<TableCell>{data.sms_send_count}件</TableCell>
</TableRow>
);


読み込み中…
キャンセル
保存