Commit Graph

324 Commits

Author SHA1 Message Date
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
Deon George
ebd4367975 Invoice rendering for service, and unit testing for Invoice Item quantity 2020-02-06 18:31:43 +09:00
Deon George
5f5d114f42 Work on Service rendering 2020-02-05 13:47:24 +09:00
Deon George
01a7d73c17 Fix/Rename Ezypay methods 2020-02-01 22:12:31 +11:00
Deon George
b85aabe979 Fixes for password reset via queues 2020-01-30 21:39:25 +11:00
Deon George
436c3d6787 Password Reset work 2020-01-22 21:05:31 +11:00
Deon George
b42f9990b5 Reactivate NPM, updates from peer projects 2020-01-21 21:06:09 +11:00
Deon George
e62603a1b3 Email template work 2020-01-21 20:59:10 +11:00
Deon George
f13c084a4b Optimise User all_accounts(),all_clients(), added Invoice/Service to search 2020-01-12 23:42:32 +11:00
Deon George
34c0380c99 array_get deprecated 2020-01-11 22:05:05 +11:00
Deon George
c941fcb148 Update to Laravel 6 2020-01-11 13:36:11 +11:00
Deon George
8224fba840
Added oauth login 2019-09-03 14:43:59 +10:00
Deon George
21ea60c4f9
Account next invoice, and authorisations 2019-07-04 14:55:05 +10:00
Deon George
59a8ef2476
More Service display 2019-07-02 15:28:27 +10:00
Deon George
6103b61265
Start of service display 2019-06-29 10:14:12 +10:00
Deon George
a426c7b1a4
Start of search, reorged Service and Account models 2019-06-21 16:21:48 +10:00
Deon George
3ff82f5f10
Fixed recording of orders and order notes 2019-06-17 13:17:58 +10:00
Deon George
4c5c43c390
Fixed order processing, broken after upgrade to Laravel 5.8 2019-06-13 14:32:34 +10:00
Deon George
9fa773d283
Initial integration with Quickbooks 2019-06-12 16:25:15 +10:00
Deon George
eb254def7a
Added Ezypayment next payment check 2019-06-11 12:36:58 +10:00
Deon George
d8b9bb9188
Minor fix for invoice 2019-06-07 23:47:37 +10:00
Deon George
78d55fb423
Changed ezypay matching to use referenceid, fixed NextKey for existing records 2019-06-07 22:34:41 +10:00
Deon George
253eb55c19
Using morphTo() on services, added Ezypay payment Import 2019-06-07 16:54:27 +10:00
Deon George
41d6a07196
Upgrade to Laravel 5.8 and AdminLTE3 2019-06-02 15:35:48 +10:00
Deon George
5a036cdc64
Added Order Hold/Release 2019-01-24 22:03:43 +11:00
Deon George
73ff8ae980
Added status ORDERED 2019-01-24 21:55:43 +11:00
Deon George
d0fb3f643e
Some cosmetic updates for orders 2019-01-24 21:49:56 +11:00
Deon George
8402e4fcb6
Added Service Reference for SUBMIT-SENT 2019-01-24 20:12:00 +11:00
Deon George
95bd89aa93
Added approve action to order view 2019-01-24 17:16:51 +11:00
Deon George
b19f01d7a4
Minor updates to order process 2019-01-24 14:40:33 +11:00
Deon George
a9f545412b
Add more details to Service Movements 2018-11-21 14:37:17 +11:00
Deon George
72fcdab84e
Moved out rejected orders 2018-11-21 13:46:16 +11:00
Deon George
aeacb726dd
Added command line send/reject for orders 2018-09-18 12:37:04 +10:00
Deon George
cf46a2cf42
Added subject to email 2018-08-23 16:31:46 +10:00
Deon George
27fdb334d0
Some order processing 2018-08-23 15:17:26 +10:00
Deon George
90bcb7f5f1
Fix to order when auth user ordered for existing account 2018-08-20 22:53:16 +10:00
Deon George
8d9b0c7027
Improvements to ordering 2018-08-20 22:15:28 +10:00
Deon George
e9b5f9ac0c Minor presentation fixes for ordering, and npm updates 2018-08-12 17:07:32 +10:00
Deon George
b737375be5 Fix user switch for resellers and company name on order 2018-08-12 11:09:44 +10:00
Deon George
5373e6b246
More work on ordering 2018-08-11 15:21:15 +10:00
Deon George
499d44289e
Start of ordering 2018-08-10 00:10:51 +10:00
Deon George
ca402df525
Updates to login home 2018-08-09 09:33:51 +10:00
Deon George
b9cf666581
Enabled password resets 2018-08-08 00:23:46 +10:00
Deon George
a99834a6d1
Added email and password reset 2018-08-07 14:26:33 +10:00
Deon George
46db6537d6
Invoice PDF rendering 2018-08-01 23:29:16 +10:00
Deon George
c444e1d218
Initial invoice rendering 2018-08-01 17:09:38 +10:00
Deon George
1cde2a888a Started work on SiteDetails and Setup 2018-07-31 14:11:00 +10:00
Deon George
0ce640c283
Added Reseller view 2018-07-17 14:10:40 +10:00
Deon George
1821810570
Minor display fixes, link to old site 2018-07-16 15:06:43 +10:00
Deon George
64b6c09b8f
WIP: User table populated and login 2018-07-13 14:53:44 +10:00
Deon George
14b568b735 Work in progress determining user type 2018-07-06 16:57:49 +10:00
Deon George
1ac764f05e
Using datatables to render home dashboard 2018-06-19 22:31:49 +10:00
Deon George
c6342abdc2 Work in progress, initial dashboard 2018-06-05 21:13:57 +10:00
Deon George
feda44db8a Initial refactoring work 2018-05-20 22:53:14 +10:00
Deon George
f9e3b2927a
Removed redundant items, upgraded to laravel 5.6 2018-04-10 21:35:29 +10:00
Deon George
33658e37a3
WIP: Standard backend theme page and login
Signed-off-by: Deon George <deon@leenooks.net>
2017-12-12 16:28:49 +11:00
Deon George
324861b826 Started work on Site Model 2017-12-08 10:04:02 +11:00
Deon George
78788468f5 WIP: Enabled metronic frontend 2017-12-05 11:03:03 +11:00
Deon George
02087feef2 WIP: Enabled themes and login with adminlte 2017-12-03 16:03:57 +11:00
Deon George
b1a5807eb3 Initial Spark Install 2017-11-03 16:26:07 +11:00