@homefile/components-v2 2.31.0 → 2.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -820,7 +820,7 @@
820
820
  "automationDetails": "Automation Details",
821
821
  "columnLeft": "Purchase Date:, Store:, Phone:,Cashier:",
822
822
  "columnRight": "# of Items:, Sales Tax:, Total:, Payment Type:",
823
- "daySummary": "Day Summary",
823
+ "daySummary": "Summary",
824
824
  "deleteItem": "Delete Item",
825
825
  "deleteReceipt": "Delete Receipt",
826
826
  "forwardTo": "Forward receipts to:",
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { t } from 'i18next';
3
3
  import { Box, Stack, Text } from '@chakra-ui/react';
4
- import { ProgressSpend, TotalHeader } from '..';
4
+ import { TotalHeader } from '..';
5
5
  export const Summary = ({ numberOfDays = 30, incidentalSpent, inventorySpent, total, }) => {
6
- return (_jsxs(Stack, { flex: "auto", children: [_jsx(Text, { variant: "receipt", children: `${numberOfDays} ${t('receipts.daySummary')}` }), _jsxs(Box, { children: [_jsx(TotalHeader, { value: total }), _jsxs(Stack, { p: "base", bg: "lightGreen.1", spacing: "base", children: [_jsx(ProgressSpend, { spent: incidentalSpent, total: total }), _jsx(ProgressSpend, { spent: inventorySpent, total: total, variant: "inventory" })] })] })] }));
6
+ return (_jsxs(Stack, { flex: "auto", children: [_jsx(Text, { variant: "receipt", children: `${t('receipts.daySummary')}` }), _jsx(Box, { children: _jsx(TotalHeader, { value: total }) })] }));
7
7
  };
@@ -1,6 +1,7 @@
1
1
  import { HomeDepot, Lowes, Walmart, DefaultReceipt } from '../../assets/images';
2
2
  export const receiptOrigins = {
3
3
  homedepot: HomeDepot,
4
+ thehomedepot: HomeDepot,
4
5
  lowes: Lowes,
5
6
  walmart: Walmart,
6
7
  "": DefaultReceipt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.31.0",
3
+ "version": "2.31.1",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -820,7 +820,7 @@
820
820
  "automationDetails": "Automation Details",
821
821
  "columnLeft": "Purchase Date:, Store:, Phone:,Cashier:",
822
822
  "columnRight": "# of Items:, Sales Tax:, Total:, Payment Type:",
823
- "daySummary": "Day Summary",
823
+ "daySummary": "Summary",
824
824
  "deleteItem": "Delete Item",
825
825
  "deleteReceipt": "Delete Receipt",
826
826
  "forwardTo": "Forward receipts to:",
@@ -11,19 +11,19 @@ export const Summary = ({
11
11
  }: SummaryI) => {
12
12
  return (
13
13
  <Stack flex="auto">
14
- <Text variant="receipt">{`${numberOfDays} ${t(
14
+ <Text variant="receipt">{`${t(
15
15
  'receipts.daySummary'
16
16
  )}`}</Text>
17
17
  <Box>
18
18
  <TotalHeader value={total} />
19
- <Stack p="base" bg="lightGreen.1" spacing="base">
19
+ {/* <Stack p="base" bg="lightGreen.1" spacing="base">
20
20
  <ProgressSpend spent={incidentalSpent} total={total} />
21
21
  <ProgressSpend
22
22
  spent={inventorySpent}
23
23
  total={total}
24
24
  variant="inventory"
25
25
  />
26
- </Stack>
26
+ </Stack> */}
27
27
  </Box>
28
28
  </Stack>
29
29
  )
@@ -3,6 +3,7 @@ import { HomeDepot, Lowes, Walmart, DefaultReceipt } from '@/assets/images'
3
3
 
4
4
  export const receiptOrigins: Record<string, string> = {
5
5
  homedepot: HomeDepot,
6
+ thehomedepot: HomeDepot,
6
7
  lowes: Lowes,
7
8
  walmart: Walmart,
8
9
  "" : DefaultReceipt