feat: Enhance software tool with country selection and tax calculation
- Added a helper function to generate country select options in software tool. - Updated user info modal and payment modal to use country dropdowns instead of text inputs. - Implemented tax calculation based on selected country in payment modal. - Improved software options loading behavior in debug mode. - Enhanced description formatting in payment modal. - Added log modal for equipment updates with a link to view logs. - Introduced a new countries settings file with tax rates for various countries. - Minor adjustments to various PHP files for better handling of equipment and payment processes.
This commit is contained in:
@@ -186,7 +186,8 @@ $view .= '<div class="content-block">
|
||||
<div class="form responsive-width-100">
|
||||
<label for="from_version_id"><i class="required">*</i>From Version</label>
|
||||
<select id="from_version_id" name="from_version_id" required>
|
||||
<option value="">Select From Version</option>';
|
||||
<option value="">Select From Version</option>
|
||||
<option value="9999999"'. ($path['from_version_id'] == 9999999 ? ' selected' : '') .'>Any Version (*)</option>';
|
||||
if (!empty($versions)) {
|
||||
foreach ($versions as $ver) {
|
||||
// Skip the TO version from FROM dropdown to prevent FROM = TO
|
||||
|
||||
Reference in New Issue
Block a user