Ability to upload files to an approved quote #1166
Draft
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.
Allows clients to upload files (likely purchase orders) attached to quotes. *Files are uploaded into the standard file viewer, but just linked to the quote.
Draft for now, will add db.sql and database updates once we've merged #1158.
I still don't entirely like the placement of the approve/decline and now upload buttons. They're cut off on a 13" laptop screen unless you zoom out. But one for later.
Client - guest_view_quote.php
![image](https://private-user-images.githubusercontent.com/32306651/409309398-05a1aa8c-fbff-4881-b51b-b3589fddfade.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Nzk0NTEsIm5iZiI6MTczOTQ3OTE1MSwicGF0aCI6Ii8zMjMwNjY1MS80MDkzMDkzOTgtMDVhMWFhOGMtZmJmZi00ODgxLWI1MWItYjM1ODlmZGRmYWRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIwMzkxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiZWVkMjU4OGQ1MDc0YjdhYTc5ZT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