Roland Häder [Wed, 8 Apr 2020 15:40:00 +0000 (17:40 +0200)]
Continued:
- added receiptSequenceNumber and receiptSellerEmployee to equals()/hashCode()
methods as they need to be equal, too.
- added Receipts.copyAll()
- added event for updated receipt data
- added receipt_updated entity property
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 16 Mar 2020 04:28:30 +0000 (05:28 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Feb 2020 21:24:13 +0000 (22:24 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Feb 2020 01:31:18 +0000 (02:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 16:56:59 +0000 (17:56 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 15:13:47 +0000 (16:13 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 10:46:16 +0000 (11:46 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Jan 2020 23:31:19 +0000 (00:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jun 2019 17:48:20 +0000 (19:48 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 12 Mar 2019 13:27:24 +0000 (14:27 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 28 Jan 2019 17:05:39 +0000 (18:05 +0100)]
Please cherry-pick:
- added missing JAR(s)
- added missing license file
Roland Häder [Sat, 22 Dec 2018 01:29:58 +0000 (02:29 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 13 Dec 2018 12:03:37 +0000 (13:03 +0100)]
Please cherry-pick:
- updated commons-lang3 to 3.8.1
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 24 Nov 2018 15:40:30 +0000 (16:40 +0100)]
Continued:
- removed category reference, is already in product
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 16 Jun 2018 13:16:16 +0000 (15:16 +0200)]
Continued:
- added transaction number to receipt as some receipts contain it
- added coupon number to equals()/hashcode() method
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 5 Apr 2018 20:43:28 +0000 (22:43 +0200)]
Continued:
- updated/changed copyright to Free Software Foundation
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 23:50:51 +0000 (00:50 +0100)]
Continued:
- Added Receipts.compare() which does a comparison with result as
Comparable.compareTo() would do.
- The difference here is that this method (like all its sisters and brothers)
are truely null-safe.
- added private constructor to IncomeUtils, no instances shall be created from
utilities classes
- also need to compare receipt item's category and receipt instance
- updated reference to Customers utility class
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 23:37:05 +0000 (00:37 +0100)]
Continued:
- implemented Comparable interface
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 19 Mar 2018 01:09:35 +0000 (02:09 +0100)]
Continued:
- added new dependency jcore-utils.jar and commons-lang3
- removed jcoreee.jar depdendency for above newly added
- implemented Comparable
- updated commons-lang3 to 3.7
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 13 Mar 2018 21:56:45 +0000 (22:56 +0100)]
Continued:
- changed copyright to the Free Software Foundation
- itemProductQuantity needs to be BigDecial to have DECIMAL type in database,
FLOAT was not the right one
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 17 Nov 2017 23:22:59 +0000 (00:22 +0100)]
Continued:
- nowadays, there are receipt numbers larger than 20 digits ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 12 Nov 2017 12:54:50 +0000 (13:54 +0100)]
Don't cherry-pick
- added entity for registering bonus cards, they will connect the buyer's "contact"
entity with receipt entity
- added field for whether the item is a discount
- added field for item's coupon number
- removed percentage/fixed discounts as this should be done with fake products
- removed unique constrain between item's product and receipt as same discounts
may be applied on more than one item
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 12 Nov 2017 12:53:12 +0000 (13:53 +0100)]
Don't cherry-pick:
- remove depdendency to jcore-logger-lib as this cannot be done from an entity
(remember *-core is the data model AKA entity)
- added new dependency jcustomer-core as bonus cards are coming
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 5 Nov 2017 12:58:50 +0000 (13:58 +0100)]
Continued:
- added item's number
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 2 Nov 2017 21:13:26 +0000 (22:13 +0100)]
Continued:
- items may have own manufacturer, mostly then the product itself is an abstract
product and does not have a direct manufacturer. Example: Milk can be made by
many producers ("manufacturer", I known it isn't the same but here
productProducer sounds a bit strange ...)
- bar code numbers might be very long, resulting an overflow of Long (!), so
let's take String for now
- brand name of products happens very often in for example supermarkets
- manufacturer is now optional
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 30 Oct 2017 21:52:32 +0000 (22:52 +0100)]
Continued:
- added sequence number (maybe different to other numbers)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 28 Oct 2017 17:18:08 +0000 (19:18 +0200)]
Continued:
- renamed itemProductDiscount -> itemDiscountPercent as this is a percentage
discount on the item
- added fixed discount, like 1 EUR as some receipt items had this discount
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Oct 2017 19:17:50 +0000 (21:17 +0200)]
Continued:
- the item should store net and gross price and taxes on each item again
- else, all receipt's item prices will be same when the product's price has
been updated
- this way, you can track tax rate and price changes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 23 Oct 2017 21:16:14 +0000 (23:16 +0200)]
Continued:
- fixed imports as package has changed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 Oct 2017 23:28:01 +0000 (01:28 +0200)]
Continued:
- renamed package to fit more other projects
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 Oct 2017 21:40:13 +0000 (23:40 +0200)]
Continued:
- added named queries for retrieving all, user's and receipt's receipt items
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 Oct 2017 21:14:23 +0000 (23:14 +0200)]
Continued:
- added documentation
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 Oct 2017 20:44:10 +0000 (22:44 +0200)]
Continued:
- renamed as there will be only company employees
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 15 Oct 2017 20:59:23 +0000 (22:59 +0200)]
Continued:
- added new exception for not-found receipts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 15 Oct 2017 11:35:39 +0000 (13:35 +0200)]
Continued a bit:
- changed temporal type to TIMESTAMP, let's also include time of issue as it is
often included on the receipt
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 14 Oct 2017 12:55:45 +0000 (14:55 +0200)]
Continued:
- removed itemProductPrice as this was redundant (see jproduct-core)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 Oct 2017 21:43:54 +0000 (23:43 +0200)]
Continued:
- renamed ReceiptItem -> FinancialReceiptItem
- added utils class ReceiptItems
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 Oct 2017 21:29:17 +0000 (23:29 +0200)]
Continued:
- added event being fired when a receipt item has been added
- moved exception to own package
- added exception for being thrown when receipt item has already been added
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 Oct 2017 20:52:58 +0000 (22:52 +0200)]
Continued:
- renamed <e|E>ntry -> <i|I>tem as this is more convincing
- added new entity property "itemDiscount" which is an optional discount on a
single item
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 Oct 2017 20:25:00 +0000 (22:25 +0200)]
Continued:
- renamed + moved to proper package/class name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 23 Sep 2017 11:18:14 +0000 (13:18 +0200)]
Continued:
- added seller (Employee) reference as some receipts bears it who/only number
has sold the item
- added class fields for receipt register's number and bar-code number
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 22 Sep 2017 23:57:02 +0000 (01:57 +0200)]
Continued a bit:
- receiptNumber may be (valid!) null, but never < 1
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 22 Sep 2017 21:55:24 +0000 (23:55 +0200)]
Continued:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
PrimeFaces' p:calendar [!] tag
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 Sep 2017 20:15:55 +0000 (22:15 +0200)]
Continued:
- added event which is being fired when a new receipt has been added
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 Sep 2017 19:34:03 +0000 (21:34 +0200)]
Continued a bit:
- added constructor with all minimum required fields: payment type, branch
office and date of issue
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 19 Sep 2017 19:06:24 +0000 (21:06 +0200)]
Continued:
- added Receipts utilities class which currently does only compare two receipt
instances with each other: entity-equality or branch office, receipt number
and "owning" user instance must all be the same
- added receiptNumber field
- added 2 named queries for receipts, finding all (any) and all user's receipts
- sorted members a bit
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 19 Aug 2017 18:56:40 +0000 (20:56 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 22:45:27 +0000 (00:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 21:03:03 +0000 (23:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:51:36 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:45:13 +0000 (22:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 16 Aug 2017 19:02:38 +0000 (21:02 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 15 Aug 2017 20:54:33 +0000 (22:54 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 15 Aug 2017 20:51:32 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 10 Aug 2017 20:47:54 +0000 (22:47 +0200)]
Also needs to be moved as jcontact-business-core has changed (good convention).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 10 Aug 2017 19:47:47 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 6 Aug 2017 21:22:37 +0000 (23:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Aug 2017 13:22:01 +0000 (15:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 31 Jul 2017 20:31:31 +0000 (22:31 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 20:12:50 +0000 (22:12 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 19:48:43 +0000 (21:48 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Jul 2017 21:10:32 +0000 (23:10 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jul 2017 17:36:11 +0000 (19:36 +0200)]
updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:20 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 19:13:35 +0000 (21:13 +0200)]
opps, needs updating ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 15:06:11 +0000 (17:06 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 13:54:43 +0000 (15:54 +0200)]
BusinessBasicData is now the "super entity" (whole company).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 11:51:18 +0000 (13:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:17:18 +0000 (12:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:09:08 +0000 (12:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 08:37:56 +0000 (10:37 +0200)]
removed superflous dependency 'jmailer-ee' because this is done in mailer-ejb projects
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:48 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 21:43:46 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 18:45:40 +0000 (20:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 13:47:05 +0000 (15:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 13:46:05 +0000 (15:46 +0200)]
updated dist.sh: SSH upload is now fully optional
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:39:16 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:14:34 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:29:54 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:24:37 +0000 (21:24 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 18:59:37 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 17:14:50 +0000 (19:14 +0200)]
removed genfiles.properties
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 16:59:48 +0000 (18:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Jul 2017 22:17:16 +0000 (00:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 21:14:02 +0000 (23:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:55:26 +0000 (22:55 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:32:32 +0000 (22:32 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:53:01 +0000 (21:53 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:28:43 +0000 (21:28 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:50:29 +0000 (23:50 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:43:27 +0000 (23:43 +0200)]
Rewrite continued:
- Now all project-specific abstract web beans (controllers) inherit from BaseFacesBean to have these nice showFacesMessage() methods.
- Also all project-specific abstract EJBs inherit now only BaseDataBean (one was missing in an old project)
- So, if you have a WAR project, inherit from BaseFacesBean, if you have an EJB project, inherit from BaseDatabaseBean
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:19:42 +0000 (23:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 20:09:51 +0000 (22:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:47:45 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:16:13 +0000 (21:16 +0200)]
Please cherry-pick:
- had moved copyAll() to new utility classes which is a much better place for
them. Per EJB standards, no "complex" methods in POJOs/entity classes which
makes sense. :-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:02:28 +0000 (21:02 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 18:59:50 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 24 Jun 2017 21:11:06 +0000 (23:11 +0200)]
updated path for local cp of libraries
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:32:53 +0000 (00:32 +0200)]
Please cherry-pick:
- the user's locale must be set at all times, else the delivering method
(onMessage()) will fail with an NPE because the locale is really required
there to choose localized templates.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:17:30 +0000 (00:17 +0200)]
Please cherry-pick:
- put() does not accept NULL values (throws NPE)
Signed-off-by: Roland Häder <roland@mxchange.org>