Rene Vergara
ac269d589e
commit68d03b6602
Author: Rene Vergara <rene@vergara.network> Date: Tue Apr 19 15:36:30 2022 -0500 Fix #2 commitd4be174b2d
Author: Rene Vergara <rene@vergara.network> Date: Mon Apr 11 09:31:08 2022 -0500 Add MIT license commit6dddceff55
Author: Rene Vergara <rene@vergara.network> Date: Sun Apr 10 09:41:16 2022 -0500 Update README commit8e98bff2ae
Author: Rene Vergara <rene@vergara.network> Date: Fri Apr 8 18:23:13 2022 -0500 Implement receipt QR code commit934e28446c
Author: Rene Vergara <rene@vergara.network> Date: Fri Mar 25 18:57:02 2022 -0500 Begin receipt component commit4f0253e6b2
Author: Rene Vergara <rene@vergara.network> Date: Mon Mar 7 14:53:10 2022 -0600 Enable zats on display commit42dbd88e28
Author: Rene Vergara <rene@vergara.network> Date: Mon Mar 7 13:46:00 2022 -0600 Enable front end setting for zats commit29a90b8614
Author: Rene Vergara <rene@vergara.network> Date: Mon Mar 7 13:45:45 2022 -0600 Fix bug for payment read commit8130856d8f
Author: Rene Vergara <rene@vergara.network> Date: Mon Mar 7 11:14:29 2022 -0600 Add zats setting parameter to backend commit43c34958f1
Author: Rene Vergara <rene@vergara.network> Date: Tue Feb 8 13:38:29 2022 -0600 Improve biz form arrangement commit0ca495a811
Author: Rene Vergara <rene@vergara.network> Date: Wed Feb 2 12:30:05 2022 -0600 Update app version commit770852640c
Author: Rene Vergara <rene@vergara.network> Date: Wed Feb 2 12:26:58 2022 -0600 Fix bug of detecting payment commita42f04cd4a
Author: Rene Vergara <rene@vergara.network> Date: Wed Feb 2 12:26:21 2022 -0600 Fix bug when deleting the last item commita22dc1aac3
Author: Rene Vergara <rene@vergara.network> Date: Wed Feb 2 10:36:29 2022 -0600 Update app version commitf33a920d29
Author: Rene Vergara <rene@vergara.network> Date: Tue Feb 1 12:56:02 2022 -0600 Refactor the confirm dialog to re-use commit372c7eacf5
Author: Rene Vergara <rene@vergara.network> Date: Tue Feb 1 12:04:16 2022 -0600 Enable logout commitba631ebf24
Author: Rene Vergara <rene@vergara.network> Date: Mon Jan 31 15:32:46 2022 -0600 Fix bug on order saving commitd61a1169fd
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 28 15:38:27 2022 -0600 Update title look of Cancel component commit5c36be8fc7
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 28 15:37:41 2022 -0600 Update look of Terms of Use commit5e5089af43
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 28 14:03:35 2022 -0600 Add business contact name commit031c4f8a87
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 28 14:03:05 2022 -0600 Add Terms of Use commit8a165eefb6
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 25 16:41:23 2022 -0600 Look and feel improvements for wide screens commitaaed144151
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 25 15:54:31 2022 -0600 Update font commit323ffcc50b
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 25 15:20:01 2022 -0600 Implement payment checks in API commitd8380ec33f
Author: Rene Vergara <rene@vergara.network> Date: Sat Jan 22 07:50:39 2022 -0600 Update modules commitf5a14bf7d7
Author: Rene Vergara <rene@vergara.network> Date: Sat Jan 22 07:49:22 2022 -0600 Implement biz info form commit5f80b1d912
Author: Rene Vergara <rene@vergara.network> Date: Wed Jan 19 14:50:00 2022 -0600 Implement Country search commit881bb1baf1
Author: Rene Vergara <rene@vergara.network> Date: Wed Jan 19 10:26:25 2022 -0600 Add country field commitea8febe368
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 18 16:40:50 2022 -0600 Create component for business info commit0044f25edb
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 18 16:40:36 2022 -0600 Modify login routing commit36242cffb9
Author: Rene Vergara <rene@vergara.network> Date: Tue Jan 18 16:40:20 2022 -0600 Add website field to owner commit57d06873f5
Author: Rene Vergara <rene@vergara.network> Date: Mon Jan 17 14:49:21 2022 -0600 Change auth guard to check for payment commitc40ac0fd44
Author: Rene Vergara <rene@vergara.network> Date: Mon Jan 17 14:49:08 2022 -0600 Add new fields for Owner commitc9f84f1a28
Author: Rene Vergara <rene@vergara.network> Date: Mon Jan 17 13:39:26 2022 -0600 Update API server to process logins and pays commit57781690a0
Author: Rene Vergara <rene@vergara.network> Date: Mon Jan 17 12:14:33 2022 -0600 Add payment schema commit18f1667a00
Author: Rene Vergara <rene@vergara.network> Date: Sat Jan 15 07:59:25 2022 -0600 Add new font and update login commit1134f1760c
Author: Rene Vergara <rene@vergara.network> Date: Sat Jan 15 07:58:56 2022 -0600 Allow for memo amount in scan component commitf6a41f3893
Merge:47f2903
55dc475
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 14 16:17:41 2022 -0600 Merge branch 'master' into dev commit47f2903d98
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 14 16:11:50 2022 -0600 Change look of login commitcfd3d0852f
Author: Rene Vergara <rene@vergara.network> Date: Fri Jan 14 15:47:31 2022 -0600 Add copyright and CoinGecko attribution commit55dc475a6a
Author: Rene Vergara <rene@vergara.network> Date: Tue Nov 23 14:44:46 2021 -0600 Correct item create form commit2596c36289
Author: Rene Vergara <rene@vergara.network> Date: Mon Nov 22 14:37:45 2021 -0600 Implement flexible currency commit078916f92d
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 18 16:49:34 2021 -0600 Change stepper to not editable commitc1c60a4e20
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 18 16:40:19 2021 -0600 Improved wording for login commit2f610c8f7f
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 18 16:38:25 2021 -0600 Implement stepper for login commite5ff05d814
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 18 09:57:22 2021 -0600 Enhance UI look and feel commit2265ab6512
Merge:b48f10f
fb46c62
Author: Rene Vergara <rene@vergara.network> Date: Wed Nov 17 16:07:26 2021 -0600 Merge branch 'master' into dev commitb48f10fe03
Author: Rene Vergara <rene@vergara.network> Date: Wed Nov 17 16:03:46 2021 -0600 Enhance login screen commited46fd9b23
Author: Rene Vergara <rene@vergara.network> Date: Wed Nov 17 14:23:24 2021 -0600 upgrade Angular commit0871a73cc2
Author: Rene Vergara <rene@vergara.network> Date: Wed Nov 17 14:14:34 2021 -0600 Add new logo files commitfb46c626ec
Author: Rene Vergara <rene@vergara.network> Date: Sat Nov 13 07:05:54 2021 -0600 Correct wallet link commit8e3c773d1e
Author: Rene Vergara <rene@vergara.network> Date: Sat Nov 13 06:51:20 2021 -0600 Adjust look of scan component commit5c043b1e0e
Author: Rene Vergara <rene@vergara.network> Date: Sat Nov 13 06:34:28 2021 -0600 Reduced required confirmations to 6 commit01dcdaecd0
Author: Rene Vergara <rene@vergara.network> Date: Sat Nov 13 06:33:51 2021 -0600 Ensure all txs are logged to DB Not just the ones with the proper memo commit1336cc2009
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 12 11:16:21 2021 -0600 Add link for wallets on the same device commitf3e8bf22e3
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 11 13:52:07 2021 -0600 Fix some issues tracking unconfirmed txs commit997276638f
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 11 09:24:43 2021 -0600 update gitignore commit7145a437b4
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 11 09:18:38 2021 -0600 Adjust visuals for small screens commitb66650d34d
Author: Rene Vergara <rene@vergara.network> Date: Wed Nov 10 09:25:26 2021 -0600 Implement session length selector commit648324ba5f
Author: Rene Vergara <rene@vergara.network> Date: Tue Nov 9 15:00:01 2021 -0600 Implement monitoring of unconfirmed logins commitd05292b365
Author: Rene Vergara <rene@vergara.network> Date: Tue Nov 9 12:39:16 2021 -0600 Add API authentication commitdacb8dbafb
Author: Rene Vergara <rene@vergara.network> Date: Mon Nov 8 14:37:26 2021 -0600 Parametrize backend url commitf33666bd0e
Author: Rene Vergara <rene@vergara.network> Date: Mon Nov 8 13:09:16 2021 -0600 Implement backend https commit0a4dda4d73
Author: Rene Vergara <rene@vergara.network> Date: Sat Nov 6 07:14:27 2021 -0500 Adjust session expiration commit99bec8f739
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 5 16:32:01 2021 -0500 Implement list of orders Also corrects font in css files commitb88fe7fc20
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 5 09:53:50 2021 -0500 Implement link alternative to QR code commit172f4da6b1
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 5 09:53:29 2021 -0500 Update main view to 'shop' commit4c5d4c311f
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 5 09:30:35 2021 -0500 Add totals and price to order storage commit7e5210723e
Author: Rene Vergara <rene@vergara.network> Date: Fri Nov 5 08:21:19 2021 -0500 Add ZEC price to order commit971fd7ca41
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 4 13:10:56 2021 -0500 Implement MongoDB authentication commitfa5221b128
Author: Rene Vergara <rene@vergara.network> Date: Thu Nov 4 07:49:09 2021 -0500 Enhance blockchain scan commit01520adbc3
Author: Rene Vergara <rene@vergara.network> Date: Tue Nov 2 16:13:24 2021 -0500 Implement database price feed commit0f5a731d08
Author: Rene Vergara <rene@vergara.network> Date: Tue Nov 2 10:35:22 2021 -0500 Implement order closing commit33326febaf
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 28 15:34:48 2021 -0500 Implement settings dialog commit251fa5d327
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 28 13:22:54 2021 -0500 Implement checkout commitdce8da391e
Author: Rene Vergara <rene@vergara.network> Date: Wed Oct 27 15:21:55 2021 -0500 Implement order creation and cancellation commitaf8ee5dc90
Author: Rene Vergara <rene@vergara.network> Date: Wed Oct 27 07:59:43 2021 -0500 Implement order creation commit064044c011
Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 26 15:07:51 2021 -0500 Implement add-to-order dialog commit8b3dfb2984
Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 26 15:07:10 2021 -0500 Fix bug in adding item commit35fcdaae54
Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 26 13:34:52 2021 -0500 Implement item delete commit61d68714d2
Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 26 12:58:39 2021 -0500 Implements custom theme commita7062e7b11
Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 26 10:09:34 2021 -0500 Implements item edit commit172ebb0171
Author: Rene Vergara <rene@vergara.network> Date: Mon Oct 25 15:01:06 2021 -0500 Implemented basic order service Implemented adding the component to the viewer and the search in database. Fixed bug in search of item list commiteea8e06d48
Author: Rene Vergara <rene@vergara.network> Date: Mon Oct 25 12:49:50 2021 -0500 Add order mongoose schema commitcd1a0208df
Author: Rene Vergara <rene@vergara.network> Date: Fri Oct 22 17:20:36 2021 -0500 Implement create item Adds Zcash price feed from CoinGecko commit22c89b9d4f
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 21 16:23:33 2021 -0500 Implements item list commit85b775ae15
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 21 14:29:19 2021 -0500 Add item model commit62658f7be9
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 21 14:29:04 2021 -0500 Fix header commit7e6cd11962
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 21 11:22:48 2021 -0500 Fix header commit4214dac887
Author: Rene Vergara <rene@vergara.network> Date: Thu Oct 21 10:23:58 2021 -0500 Implement resolver for node address Fixes services. commit30a83414ad
Author: Rene Vergara <rene@vergara.network> Date: Wed Oct 20 15:51:14 2021 -0500 Update of code base commit6059c04b75
Author: Rene Vergara <rene@vergara.network> Date: Fri Oct 15 14:14:49 2021 -0500 Implements Zcash login commit9926a1a4fe
Author: Rene Vergara <rene@vergara.network> Date: Fri Oct 1 15:10:14 2021 -0500 initial commit
26 lines
915 B
JavaScript
26 lines
915 B
JavaScript
const mongoose = require('mongoose');
|
|
|
|
const ownerSchema = mongoose.Schema({
|
|
address: {type: String, required:true, unique:true},
|
|
name: {type: String, required:true},
|
|
currency: {type: String, required:true, default: 'usd'},
|
|
tax: {type: Boolean, required: true, default: false},
|
|
taxValue: {type: Number },
|
|
vat: {type: Boolean, required:true, default: false},
|
|
vatValue: {type: Number },
|
|
first: {type: String, required:true},
|
|
last: {type: String, required:true},
|
|
email: {type: String, required:true},
|
|
street: {type: String, required:true},
|
|
city: {type: String, required: true},
|
|
state: {type: String, required: true},
|
|
postal: {type: String, required: true},
|
|
phone: {type: String},
|
|
website: {type: String},
|
|
country: {type: String},
|
|
paid: {type: Boolean, required: true, default: false},
|
|
zats: {type: Boolean, required: true, default: false}
|
|
});
|
|
|
|
module.exports = mongoose.model('Owner', ownerSchema);
|