Commit Graph

309 Commits

Author SHA1 Message Date
Deon George
2722c92bcf Add supplier linking 2022-08-10 15:30:39 +10:00
Deon George
a1fd36aa6f Update supplier details to use form helpers, and added in api settings 2022-08-06 00:22:22 +10:00
Deon George
ae3f97d890 Fix supplier configuration 2022-08-05 22:21:17 +10:00
Deon George
20c91e8e31 Using search while the session has expired will generate a 401 2022-08-03 16:34:23 +10:00
Deon George
a52c20993b Fix existing cancel workflow 2022-08-03 15:47:09 +10:00
Deon George
dd76fda274 Hosting domain_name input, ensure we redirect back to the update page 2022-08-03 15:28:27 +10:00
Deon George
2bac177618 Some service host/domain updates, including schema updates 2022-08-02 22:36:35 +10:00
Deon George
06b1eca306 Updates to service updating - phone 2022-08-02 08:49:17 +10:00
Deon George
360182b6bb Fix old products report 2022-08-01 21:06:57 +10:00
Deon George
7feec266b8 Updates to service updating - broadband 2022-08-01 20:34:10 +10:00
Deon George
97f5c84f23 Consolidate service resources into a top level services/ directory 2022-08-01 14:04:04 +10:00
Deon George
39ded93a42 Update checkout, enable editing of checkout, show details on invoices 2022-07-29 16:31:32 +10:00
Deon George
cc906e9b22 Fixes for viewing unprocessed charges 2022-07-25 23:59:28 +10:00
Deon George
bb44c1a216 Hack to make services active when changed after ordering 2022-07-25 23:50:46 +10:00
Deon George
3ff7bf1571 Fixes for error 500 in order and fix layout when updating changed services 2022-07-25 23:37:31 +10:00
Deon George
5297ae8a62 Enable editing of supplier products and listing services connected to them 2022-06-30 23:51:20 +10:00
Deon George
fb416306e7 Optimising Supplier Layout and source code placement 2022-06-28 23:20:56 +10:00
Deon George
464407e7ee Update leenooks/laravel and framework updates 2022-06-28 21:57:55 +10:00
Deon George
f6f502618d Log sent emails 2022-06-25 00:18:57 +10:00
Deon George
8ba6a93214 Fixes for testing to pass 2022-06-14 17:03:58 +10:00
Deon George
768744ad27 Initial support for importing supplier costs 2022-06-14 16:55:17 +10:00
Deon George
606f357839 Improved search performance 2022-06-14 16:51:18 +10:00
Deon George
8777024cd8 Enable email test 2022-06-13 20:55:39 +10:00
Deon George
642446e592 Cast Invoice::reminders to json 2022-06-13 19:58:53 +10:00
Deon George
d1fbb4b42b Count negative payment_items towards payment balance 2022-06-13 18:01:29 +10:00
Deon George
5e82f091c0 Payments need to be active to be recognised 2022-06-13 17:31:11 +10:00
Deon George
28438c6423 Fix for ezypay payment import 2022-06-13 16:44:24 +10:00
Deon George
49a4830d89 Fix payment entry 2022-06-13 15:46:38 +10:00
Deon George
9e889008bf Fix recording charges 2022-06-13 14:36:12 +10:00
Deon George
2590997b1a Bring back some services logic to still needed by charges 2022-06-13 14:21:48 +10:00
Deon George
c1080481ec Enabled changing broadband services and adjusting invoices 2022-06-12 18:32:54 +10:00
Deon George
cc94426902 Optimising product category and category names 2022-06-12 11:21:20 +10:00
Deon George
360c1e46a1 Updates to charges table 2022-06-11 17:43:09 +10:00
Deon George
b8f85960aa Updates to charges table 2022-06-11 17:39:25 +10:00
Deon George
b9ec64fd4f Updates for new mail enviroment for laravel 9 2022-05-12 14:34:14 +10:00
Deon George
69e5a5f12c Add site() to SiteID trait, so site models can be referenced (eg: in email) 2022-05-12 12:45:18 +10:00
Deon George
2d7437fc0d Fix some missing date_* attributes for Service that have been missed 2022-05-12 09:09:49 +10:00
Deon George
03f37f33ff Fix authorisation for resellers to only see their own accounts 2022-04-22 16:35:01 +10:00
Deon George
16cc0c9f8d Optimise product tables 2022-04-22 16:01:41 +10:00
Deon George
e1a4db700f Removed redundant functions from Invoice, optimised Invoice tables 2022-04-22 16:01:41 +10:00
Deon George
a16277d9bb Cleanup usage of Leenooks\Carbon, change ServiceType to be consistent with Products/ Suppliers/ 2022-04-22 15:25:14 +10:00
Deon George
8ed9e38290 Removed redundant functions from Service::class 2022-04-22 15:25:13 +10:00
Deon George
d53643ef55 Removed many redundant functions from User::class 2022-04-22 15:25:13 +10:00
Deon George
796c72dd09 Home screen improvements, testing for role, work on user/account models 2022-04-22 14:41:53 +10:00
Deon George
40d12b906b Upgrade framework to laravel 9 2022-04-22 14:41:53 +10:00
Deon George
16b7e0b493 Update and fix broadband traffic 2022-04-20 16:28:54 +10:00
Deon George
621a132e35 Start work on updating services 2022-04-20 12:43:10 +10:00
Deon George
ebf08ea414 Fix error 500 when cancelling and ordering broadband 2022-04-04 20:29:45 +10:00
Deon George
9659621ba0 Added hosting report and enabled updating hosting details 2022-04-02 20:26:59 +11:00
Deon George
a4ed29b560 Added in email hosting, and other misc cosmetic fixes 2022-04-02 18:06:34 +11:00
Deon George
7775105da6 Rename supplier home screen to home 2022-04-02 09:56:30 +11:00
Deon George
d7b5d9a272 Fix VOIP services from 500 errors 2022-03-05 13:49:50 +11:00
Deon George
62f587d7e6 Fix invoice generation and other minor cosmetic items 2022-03-05 11:05:35 +11:00
Deon George
6dab5bded8 Query performance improvements for home 2022-02-02 17:12:17 +11:00
Deon George
e9ada2468e Minor fixes to get charging working 2022-02-02 16:01:12 +11:00
Deon George
d1a7e399dc Fixes for CI/CD 2022-02-02 10:56:28 +11:00
Deon George
b9b4416737 More works on products 2022-02-02 10:43:59 +11:00
Deon George
1e9f15b40f Work on products, first completed broadband 2022-02-02 10:43:59 +11:00
Deon George
8f5293662e Comments on Middleware/Role 2022-02-02 10:43:59 +11:00
Deon George
bdcfe07fb0 Created Suppliers 2022-02-01 16:45:35 +11:00
Deon George
b7b6a575bc Site related updates 2022-02-01 16:45:35 +11:00
Deon George
8d194c5523 Add link to account from service view 2021-12-20 17:24:31 +11:00
Deon George
05c5d35dbf Ensure users can only login from the right site 2021-12-20 17:24:31 +11:00
Deon George
99a62828f5 Rework Site and top level tables 2021-12-20 17:24:31 +11:00
Deon George
48a76bacb6 Fix invoice creation with charges. Fix including discounts in invoices 2021-12-16 11:55:59 +11:00
Deon George
8a8e299c7b Fix when VOIP order doesnt have an address or number 2021-12-14 13:14:14 +11:00
Deon George
7908676063 Fix error when new order created and notes is blank 2021-12-14 12:38:45 +11:00
Deon George
6fa88daeb0
Minor fix to SearchController, updated composer.json based on other projects 2021-10-08 12:34:56 +11:00
Deon George
17e7b47cdc
Add product info on broadband change requests 2021-10-08 12:34:56 +11:00
Deon George
7c5369203c
Optimise charge table, implemented charge recording, optimised payment recording 2021-10-01 14:59:04 +10:00
Deon George
c0ad46ba65
Show service detail on invoices 2021-09-30 12:54:44 +10:00
Deon George
5be4fe6784
Redirect Invoice Download to invoice view 2021-09-29 17:36:55 +10:00
Deon George
7acb9e964b
Enable users to execute workflows 2021-09-29 17:11:46 +10:00
Deon George
4243da9c32
Fix Model Policies from matching user_id's and account_id's, and other minor cosmetic fixes 2021-09-29 16:20:22 +10:00
Deon George
f7439172b6
Service cancellation and ordering 2021-09-29 14:57:25 +10:00
Deon George
b2e45fcaee
Added unique validation for broadband orders, add more visual display that order had errors 2021-09-28 15:14:43 +10:00
Deon George
4cbe990ec1
Changes to orders to stop existing services being submitted 2021-09-28 12:43:54 +10:00
Deon George
7277d7407a
Framework updates and minor cosmetic fixes 2021-09-28 10:09:56 +10:00
Deon George
ccd6a11c8a
Missed PaymentsImport in previous commit 2021-07-29 13:18:39 +10:00
Deon George
00f215b780
Minor job cleanup, import Ezypay payments update 2021-07-29 13:11:14 +10:00
Deon George
10e6c73b2b
Missed some references to ab_payments in d463239 2021-07-23 17:49:59 +10:00
Deon George
d463239b17
Rework payment tables, enable payment editing 2021-07-23 17:36:53 +10:00
Deon George
fa62a47680
Add VOIP to search 2021-07-19 16:42:37 +10:00
Deon George
f22813bb5b
Remove more references to ab_account, Docker build tweaks, Fix error rendering charges 2021-07-19 16:23:38 +10:00
Deon George
53fc25612b
Fix domain name uniqueness during update, taking into account tld 2021-07-13 14:56:14 +10:00
Deon George
b515a1edeb
Initial reseller domain report, enable editing domain service details 2021-07-13 12:31:56 +10:00
Deon George
19860d657f
Fix account time format for DB storage 2021-07-09 12:47:10 +10:00
Deon George
7e150e6cf6
Minor framework updates, and updates from other projects 2021-07-09 12:41:15 +10:00
Deon George
a9f81373fa
Fixes for ordering 2021-07-09 11:39:27 +10:00
Deon George
24ff62094a
Rename ab_account to accounts 2021-07-07 17:45:16 +10:00
Deon George
f6751e7a63
Fix Exetel Traffic import 2021-07-02 16:15:45 +10:00
Deon George
90190bb301
Performance workarounds as a result of 1bba21 - need to work on with() 2021-07-02 15:10:22 +10:00
Deon George
1bba21dcef
Added payment recording, minor CSS fixes, enabled Search 2021-07-02 14:39:08 +10:00
Deon George
9e1723a7af
Fix testing as a result of changes in 34139bc 2021-07-02 10:03:36 +10:00
Deon George
34139bcbc2
Changed SITE_SETUP to SITE, using ->address instead of ->address(), added email_log, is now in views 2021-07-02 09:33:31 +10:00
Deon George
c34da6bfb8
Reworked site setup, added SingleOrFail() 2021-07-02 09:33:31 +10:00
Deon George
d02df6e98a
Change NextKey to create record in Module table if it doesnt exist 2021-06-30 14:46:50 +10:00
Deon George
ec738d590c
Upgraded testing to Laravel 8 - disabled most tests pending code optimisation 2021-06-30 14:46:50 +10:00
Deon George
d7ef04fc25
Added TaxTableSeeder 2021-06-30 14:46:49 +10:00
Deon George
bac4fd6227
Optimise users home page 2021-06-30 10:09:18 +10:00
Deon George
638472fb4f
Move User model to Models/ 2021-06-29 16:40:54 +10:00
Deon George
8899ade36b
Implemented metronic home page 2021-06-29 16:40:54 +10:00
Deon George
d9c4aa5b92
Update to Laravel 8 2021-06-29 16:40:54 +10:00
Deon George
84fa5f6546
Fix no usage_summary for services not active yet, minor improvements to traffic graph 2021-03-16 11:30:37 +11:00
Deon George
b01976a6ae
Another fix for dates when using addMonth() 2021-03-12 22:59:19 +11:00
Deon George
45c93283fb
Fix determining traffic usage month end 2021-03-12 21:50:42 +11:00
Deon George
fee4b5802e
Show traffic monthly summary 2021-03-12 21:08:40 +11:00
Deon George
a301fa7fc0 Added usage graph (ADSL), improved logging for usage collection (ADSL) 2021-02-18 00:22:50 +11:00
Deon George
31749c03b0 Fix strict recurring date for 2 years, error 500 when displaying services without an invoice 2021-01-04 23:18:57 +11:00
Deon George
20ddacd9a3 Add Generic service - all services should have a type model 2020-12-02 21:36:36 +11:00
Deon George
4718bf3057 Fix catch matching in typeahead, dont bill services past their end date 2020-12-01 21:23:07 +11:00
Deon George
1242dffa20
Add paypal payments 2020-07-27 14:49:59 +10:00
Deon George
9887996da8
Fix service name 2020-07-22 14:58:32 +10:00
Deon George
9bf062e8e6
Fix payment join to show unapplied payments 2020-07-22 11:40:33 +10:00
Deon George
c97835edd1
Payment summary improvements, removed invoice/payment API calls 2020-07-21 17:41:24 +10:00
Deon George
444f2cf52d
Invoice summary improvements 2020-07-21 16:39:23 +10:00
Deon George
337beee7bf
Fix account access for resellers, added invoices to user home 2020-07-10 17:20:22 +10:00
Deon George
dc6ae06f9f
Fix for missing addHalf() 2020-07-06 16:13:53 +10:00
Deon George
b0f9d07af9
More fixes for invoice_to, fix PushNew on belongs to relations 2020-07-06 16:02:59 +10:00
Deon George
878277907a
Fix invoice_to for next billing period 2020-07-06 14:37:08 +10:00
Deon George
39a230f94c
Fix billing calculations when services have an end date 2020-07-06 13:56:23 +10:00
Deon George
d7829b93b9
Fix code creation for invoices 2020-06-02 17:19:24 +10:00
Deon George
251298a230
Added list option to invoice:generate. Fix account PushNew() 2020-05-29 14:40:49 +10:00
Deon George
121aa5b31c
Added schedule:list, fixed traffic import service, fixed invoice generation with charges and credit amounts 2020-05-29 14:10:10 +10:00
Deon George
7f1681f0b7
Fix caching determination for traffic import 2020-05-28 15:35:19 +10:00
Deon George
7d41fb857a
ADSL Traffic import 2020-05-28 15:08:13 +10:00
Deon George
86861a6daf
Some invoice layout fixes, start on traffic collection, update console command service:list 2020-05-27 16:09:03 +10:00
Deon George
dd1460463f
Update framework and javascript 2020-05-26 11:44:02 +10:00
Deon George
32c562cf30
Enable invoice emailing 2020-05-25 17:45:17 +10:00
Deon George
589aeb7289
Fix displaying first service/invoice/account for user 2020-05-25 13:57:36 +10:00
Deon George
4935a9f5ff
Progress on order progress to provisioning 2020-04-23 17:38:09 +10:00
Deon George
3b168af492
Show order info reference on pending orders 2020-04-22 23:23:54 +10:00
Deon George
1934c6dfeb
Add cancellation request 2020-04-22 22:54:05 +10:00
Deon George
6480f40b22
Progress on order progress 2020-04-19 08:33:41 +10:00
Deon George
3784de855a
Changed service movements rendering 2020-04-14 17:40:47 +10:00
Deon George
6a3b8692e1
Fix Service::next_invoice_items() for invoices that should not be generated, but have additional charges 2020-04-02 12:10:28 +11:00
Deon George
10c8e43f7c
Fix services with no model, showing future invoice items 2020-04-02 12:03:26 +11:00
Deon George
57f24c9315
Fixes to pass unit testing 2020-04-02 08:59:22 +11:00
Deon George
23dc668c65 Enabled console invoice generation 2020-04-01 23:35:06 +11:00
Deon George
fb9ccd927d Fix rendering of future charge items 2020-03-31 14:39:39 +11:00
Deon George
9ab30086fc Work on SSL and Host accounts 2020-02-20 22:54:28 +11:00
Deon George
8311bfc268 Work on VOIP and Domain products 2020-02-19 23:37:45 +11:00
Deon George
910edfd89f Work on product costing (broadband) and reporting 2020-02-18 22:35:20 +11:00
Deon George
f8d998d935 Minor bug fixes rendering services and invoicing 2020-02-13 22:18:20 +11:00
Deon George
5cc0dcd8e1 Invoice testing and line item catchup 2020-02-12 21:32:57 +11:00
Deon George
f41fc3eb9c Query optimisations using with() 2020-02-10 22:07:46 +11:00
Deon George
cd18b98859 Fixed order email, added site url tests, add doctrine/dbal, add service::site() 2020-02-09 23:12:34 +11:00
Deon George
a92e94398c Putback user::site(), add heading for order emails 2020-02-09 16:48:03 +11:00
Deon George
eb316f65fc Next/Future invoices for users 2020-02-08 22:51:50 +11:00
Deon George
b61e00d80f Changed account search to user search, show connection charges on invoice for pending services 2020-02-07 07:11:02 +09:00