Purchasing v1#5
Open
kelete wants to merge 19 commits into
Open
Conversation
V1 of modulse.
TODO:
- Fix CSS .
- Add image management in creation and edit of product.
- finish: AFHENTNINGSDAGE OG LOKALE ÅBNINGSDAGE
- Data Structure review.
- Calendar “exceptions” model design and functionality.
- Review obfuscation of form values.
- Review quality of i-product_new.js
- Review how we create and use Look Up Lists like “productAvailabilityOptions”, “supplierlist”, “productTypes”….
Some code that was added to janitor related to departments and products and it belongs to kbhff_dk
git is a hard tool to get...
Added code for item_departemnt . Enhaced button functionality to accept javascript functions.
Update on price structure to give the option to create prices for the membership type.
TODO: - Review css in general. - Review css for media management in indkoeb.php and edit.php. - finish functionality in AFHENTNINGSDAGE OG LOKALE ÅBNINGSDAGE
Cleanup
SQL: system_departments: added column ['opening_weekday' TINYINT(1) NULL] to table [system_departments] to hold 1 to 7 the weekday where the department is open. department_schedule: created table [department_schedule] to hold departemnt schedule exceptions:. Columns: closed: 1/0, schedule_date, opening_hours Class: Department Class: Modified to handle the opening_weekday; Department Class. Function getDepartments: Added _option 'schedule_period_weeks' to add schedule list to the department list; Afhentningsdage Class: Created to handle Department Schedules. PHP: afhentningsdage.php : controler for schedule. afhentningsdage/list.php : display list of departments and a list with their schedule for 6 weeks ahead. afhentningsdage/new.php : Create and edit department schedules. TODO: - communication with members when a department schedule changes. - Convert <table> to <ul><li> in afhentningsdage/list.php - Increase navigation on weeks in afhentningsdage/list.php
This code now in in the schedule / Afhentningsdage
Week starts on Sunday in PHP. In the calendar it's on monday. The database takes the weekday number starting on Sunday now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purchasing module v1.
theme/classes/items/items.class.php
Review js and css:
To Be Removed from pull request: