Commit Graph

58 Commits

Author SHA1 Message Date
52c4ab45d5 fix class filter helper functions
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-05 23:17:43 -04:00
a35f43d6df rename Ammo.get_average_cost and Ammo.get_historical_count 2023-06-05 23:17:43 -04:00
9edeb1e803 improve Ammo.get_grouped_round_count 2023-06-05 23:17:43 -04:00
9643e9f46d improve Ammo.get_round_count 2023-06-05 23:17:39 -04:00
8466fcd1f9 improve ActivityLog.get_grouped_used_counts 2023-06-05 23:16:47 -04:00
a8fa321040 use sr for shot record in sql 2023-06-05 23:16:00 -04:00
f0536f3030 improve Ammo.get_grouped_packs_count 2023-06-05 23:15:57 -04:00
a94d2eebf4 improve Ammo.get_packs_count 2023-06-05 23:06:28 -04:00
e80c2018be improve Ammo.list_packs 2023-06-04 00:00:51 -04:00
71fdd42d96 improve Ammo.list_types 2023-06-03 20:14:20 -04:00
2e488fa26c fix ammo type sql naming issues 2023-05-12 22:22:46 -04:00
49628cb9bb pattern match on user struct in more cases 2023-05-12 21:48:19 -04:00
8a58d53dc1 fix pack sql naming issues 2023-05-12 21:48:04 -04:00
c33f15603b rename ammo type to type 2023-03-30 22:02:36 -04:00
5f8d1a917f shot groups to shot records 2023-03-30 20:43:30 -04:00
4b6d0952f8 rename ammo groups to packs everywhere 2023-03-30 20:08:11 -04:00
6d26103784 rename ammo groups to packs 2023-03-30 20:07:16 -04:00
0cae7c2940 rename ammo_type type to class
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-28 23:08:40 -04:00
bab2b26c13 use atom keys in tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-28 21:57:29 -04:00
8c95536ffd add selectable ammo types
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-23 22:07:25 -04:00
03f8a2e8a7 remove all n+1 queries for real this time 2023-03-19 15:05:09 -04:00
213dcca973 fix duplicate entries showing up 2023-03-19 13:28:56 -04:00
a54cf8b87d use strict context boundaries and remove all n+1 queries
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-18 21:06:50 -04:00
11ef53d1bf add search to ammo groups index 2022-12-03 19:44:57 -05:00
7191fe8e4b add search to catalog index 2022-12-03 19:35:00 -05:00
e0ac714681 improve changesets and typespecs 2022-11-23 20:46:41 -05:00
1fed895b82 display cpr for ammo packs and add original count for ammo packs 2022-11-12 14:33:11 -05:00
1c7721887f fix moving ammo between containers 2022-11-10 22:14:39 -05:00
7ef582510e improve ammo context 2022-11-10 20:26:11 -05:00
cfbec3189c display used-up date on used-up ammo
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-07 21:01:57 -05:00
9e386f1631 add used filtering to container show page 2022-11-07 00:40:09 -05:00
36a0a1c6c8 add used filtering to ammo type show page 2022-11-07 00:40:09 -05:00
dc355fcd8e add ammo count to ammo type index page 2022-11-07 00:40:09 -05:00
f246b9db93 prompt to create first ammo type before trying to create first ammo
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-04 21:41:07 -04:00
6c09261368 use changeset helper 2022-07-04 20:39:21 -04:00
5b5fd7173b fix ammo type changesets 2022-07-04 20:22:39 -04:00
947659b207 fix ammo_group changesets 2022-07-04 20:06:41 -04:00
7f9e6f9eff fix tests 2022-04-19 20:08:10 -04:00
45d905b384 Fix bug with average price per round calculation 2022-04-19 19:42:48 -04:00
a2d1ff9b89 fix credo 2022-03-28 23:05:12 -04:00
c0179f48bd mix format
Some checks failed
continuous-integration/drone/push Build was killed
2022-03-04 23:17:53 -05:00
8bb4aab49c Fix ammo group create form error bug 2022-03-04 23:16:37 -05:00
a6b2c6181e add multiple ammo groups at one time
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-24 00:17:23 -05:00
ee28de1178 fix not showing 0 if ammo type with 0 rounds 2022-02-23 19:41:21 -05:00
a19ec682e6 add ammo type round totals and total rounds shot 2022-02-19 00:18:24 -05:00
dba53106fb show original count, current value, percentage remaining and shot history for ammo groups 2022-02-19 00:05:22 -05:00
9e0e9ea2ae fix ammo group create not handling invalid attrs
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-18 18:49:11 -05:00
d162a7d5c3 hard create_ammo_group/2 2022-02-16 18:53:49 -05:00
69eebc82cc calculate shot groups in average cost 2022-02-15 21:56:01 -05:00
7110a2db21 order in db 2022-02-15 21:52:23 -05:00