<!--- Provide a general summary of your changes in the Title above -->
Description
<!--- Add some new fields to the pos model like total_amount,method_of_payment and also set the relationship to one to many(Transaction-->Product) so that one transaction can include many products but one product can be include in one transaction only!
Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
Screenshots (if appropriate):
Types of changes
<!--- What types of changes does your code introduce? Put anxin all the boxes that apply: -->
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (improves application but is not new functionality nor a bug fix)
Checklist:
<!--- Go over all the following points, and put anxin all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Changes to pos & product model
<!--- Provide a general summary of your changes in the Title above -->
Description
<!--- Add some new fields to the pos model like total_amount,method_of_payment and also set the relationship to one to many(Transaction-->Product) so that one transaction can include many products but one product can be include in one transaction only!
Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
Screenshots (if appropriate):
Types of changes
<!--- What types of changes does your code introduce? Put an
xin all the boxes that apply: -->
Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->