Commit Graph

57 Commits

Author SHA1 Message Date
Andreas Zweili 388b9bbadb add a project manager to customers 2022-03-29 22:03:43 +02:00
Andreas Zweili 7efceb4954 format with black 2022-03-27 14:50:44 +02:00
Andreas Zweili 174d02d26b show all groups on one site 2022-03-23 22:29:38 +01:00
Andreas Zweili b118e07d5c correct htmx target ids 2022-03-23 14:07:52 +01:00
Andreas Zweili b8a130ec10 add DummyLocation 2022-03-23 13:49:58 +01:00
Andreas Zweili 29906d9a9a add location form view 2022-03-23 12:18:40 +01:00
Andreas Zweili f514e92218 generate the location name with mixer 2022-03-23 10:34:53 +01:00
Andreas Zweili 37a304219f add form for locations 2022-03-05 15:13:27 +01:00
Andreas Zweili 3d77f12999 remove duplicate field definitions 2022-02-11 08:38:51 +01:00
Andreas Zweili ef174c70aa rewrite the customer forms to htmx 2022-02-10 21:40:49 +01:00
Andreas Zweili 1e9804cde3 move the modal to core 2022-01-10 17:53:10 +01:00
Andreas Zweili 4c77979bb9 move the closeModal function to the core template 2022-01-08 17:32:12 +01:00
Andreas Zweili 99c4d5b3ec rewrite the customer creation process to a modal 2022-01-08 17:28:43 +01:00
Andreas Zweili 0f87a2730c add a view for groups 2021-12-30 20:51:39 +01:00
Andreas Zweili 6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
Andreas Zweili ba40df90b5 fix a typo 2021-12-26 16:09:56 +01:00
Andreas Zweili b78780555d rename util function to retrieve objects 2021-12-24 12:48:56 +01:00
Andreas Zweili 554a6f874d rewrite CustomerCreateView to FBV 2021-12-23 22:44:31 +01:00
Andreas Zweili 8be3a2251e add a util to get objects 2021-12-23 22:12:14 +01:00
Andreas Zweili ffae6e4ac6 add a custom function for view_permissions 2021-12-23 19:28:47 +01:00
Andreas Zweili 2ff96a4976 refactor customer_detail_view 2021-12-23 19:14:20 +01:00
Andreas Zweili 3e14c00220 remove unused import 2021-12-23 19:02:58 +01:00
Andreas Zweili c49fa57994 implement the object permission directly 2021-12-23 19:02:18 +01:00
Andreas Zweili 3f206daaf4 rewrite CustomerDetailView to a FBV 2021-12-23 18:50:03 +01:00
Andreas Zweili 52bdd8efae PEP8 2021-12-23 18:38:00 +01:00
Andreas Zweili c99e54049c use TemplateResponse in htmx_create_customer 2021-12-23 15:24:50 +01:00
Andreas Zweili 7945dadd65 Fix the customer delete view 2021-12-23 15:11:41 +01:00
Andreas Zweili 478c07160e Add a slight hack to reload the page after success 2021-12-23 15:10:29 +01:00
Andreas Zweili c1fbf81bd4 rewrite htmx test to FBV 2021-12-22 19:14:18 +01:00
Andreas Zweili 381c5c9568 make customer names unique 2021-12-22 19:13:44 +01:00
Andreas Zweili 1573d148ad fix the form 2021-12-21 18:17:58 +01:00
Andreas Zweili ba3e40f1c2 create a first working example 2021-12-21 17:51:57 +01:00
Andreas Zweili 746054c295 make all tables responsive 2020-08-03 21:10:05 +02:00
Andreas Zweili 9bc3873317 make the delete column unsortable 2020-08-03 17:37:08 +02:00
Andreas Zweili f57b3a7baf add delete button to customers table 2020-08-03 16:35:36 +02:00
Andreas Zweili a0191b6dc2 PEP8 2020-08-03 13:41:49 +02:00
Andreas Zweili 0ae6a6688e extend the models with 'ordering' 2020-07-07 22:12:57 +02:00
Andreas Zweili 17a67fda8c correct the order of the customer fields 2020-06-09 21:43:34 +02:00
Andreas Zweili c07eb4cb99 match the customer details page to the rest of the application 2020-06-08 21:12:42 +02:00
Andreas Zweili 459771924c move the description field to the base Company model 2020-06-08 21:07:40 +02:00
Andreas Zweili 15091da2ef rename the customer form view tests file 2020-05-24 18:05:44 +02:00
Andreas Zweili 37915ad039 add a button to create a customer 2020-05-23 14:18:16 +02:00
Andreas Zweili 17053f586b remove the ConnectedDevice model 2020-05-03 21:48:40 +02:00
Andreas Zweili 6dd0e38513 remove the names of some overly large capitalists
These companies already have far too much money at their disposal.
They might profit from the free advertising appearing in this
repository and we wouldn't want that wouldn't we?
2020-03-15 19:54:43 +01:00
Andreas Zweili e188b3e4f7 remove emtpy line 2020-02-29 21:08:18 +01:00
Andreas Zweili 0b17943e2a split parameters over multiple lines 2020-02-29 21:07:52 +01:00
Andreas Zweili 0cb8023204 split paremeters over multiple lines 2020-02-29 21:07:22 +01:00
Andreas Zweili 09d3e522ac implemente the utils.get_customers function 2020-02-29 15:48:29 +01:00
Andreas Zweili ddb8dc2bba remove all the table templates with a single settings option 2020-02-23 12:59:20 +01:00
Andreas Zweili 9c0938b420 add a CoreTable class to inherit all tables from 2020-02-23 12:58:39 +01:00