diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..bfaa24ede589895804623ebadf6730af359ba93b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +bun.lockb filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..a547bf36d8d11a4f89c59c144f24795749086dd1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/bun.lockb b/bun.lockb new file mode 100644 index 0000000000000000000000000000000000000000..db4c79f2ffdcd2822cafcf360864de81f4cd78eb --- /dev/null +++ b/bun.lockb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0365405bfcc1de49a70cd23a13bf97bc2c474a9c470b3e8158f214951111bd16 +size 201126 diff --git a/components.json b/components.json new file mode 100644 index 0000000000000000000000000000000000000000..62e101166a31ade477811bd31f6be1ae44d45423 --- /dev/null +++ b/components.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "default", + "rsc": false, + "tsx": true, + "tailwind": { + "config": "tailwind.config.ts", + "css": "src/index.css", + "baseColor": "slate", + "cssVariables": true, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/lib/utils", + "ui": "@/components/ui", + "lib": "@/lib", + "hooks": "@/hooks" + } +} diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000000000000000000000000000000000000..40f72cc45a46993d3d02da765842abb2703a64c1 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,26 @@ +import js from "@eslint/js"; +import globals from "globals"; +import reactHooks from "eslint-plugin-react-hooks"; +import reactRefresh from "eslint-plugin-react-refresh"; +import tseslint from "typescript-eslint"; + +export default tseslint.config( + { ignores: ["dist"] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ["**/*.{ts,tsx}"], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + "react-hooks": reactHooks, + "react-refresh": reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + "react-refresh/only-export-components": ["warn", { allowConstantExport: true }], + "@typescript-eslint/no-unused-vars": "off", + }, + }, +); diff --git a/index.html b/index.html new file mode 100644 index 0000000000000000000000000000000000000000..833fe75161444ebb1df1560cabc896bf102ed295 --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + +
+ + +{shopAddress}
++ {language === 'mr' ? 'फोन' : 'Phone'}: {shopPhone} +
+ {shopGST && ( ++ {language === 'mr' ? 'जीएसटी नंबर' : 'GST No'}: {shopGST} +
+ )} ++ {language === 'mr' ? 'बिल नंबर' : 'Bill No'}: +
+{billNumber}
++ {language === 'mr' ? 'तारीख' : 'Date'}: +
+{formatDate(date)}
++ {language === 'mr' ? 'पार्टीचे नाव' : 'Party Name'}: +
+{partyName}
+ {partyAddress && ( +{partyAddress}
+ )} + {partyPhone && ( ++ {language === 'mr' ? 'फोन' : 'Phone'}: {partyPhone} +
+ )} +| + {language === 'mr' ? 'तपशील' : 'Particulars'} + | ++ {language === 'mr' ? 'पोत्या' : 'Bags'} + | ++ {language === 'mr' ? 'वजन (kg)' : 'Weight (kg)'} + | ++ {language === 'mr' ? 'रेट' : 'Rate'} + | ++ {language === 'mr' ? 'रक्कम' : 'Amount'} + | +
|---|---|---|---|---|
| {item.particular} | +{item.bags} | +{item.netWeight} | +₹{item.rate.toFixed(2)} | ++ ₹{item.amount.toLocaleString('en-IN', { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + | +
{language === 'mr' ? 'नोट: कृपया रक्कम वेळेवर भरावी' : 'Note: Please pay on time'}
++ {language === 'mr' ? 'अधिकृत स्वाक्षरी' : 'Authorized Sign'} +
++ {language === 'mr' + ? 'मिर्ची ट्रेडिंग - व्यावसायिक सॉफ्टवेअर' + : 'Mirchi Trading - Business Software'} +
+कोणतेही परिणाम सापडले नाहीत
+
+ Long press the + button
+
+ to open quick menu
+