60 lines
2.1 KiB
HTML
60 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>VAT Company Lookup</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='company_data.css') }}">
|
|
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>VAT Company Lookup</h1>
|
|
|
|
<div class="form-grid">
|
|
<div class="row">
|
|
<select id="country">
|
|
<option value="BE" {% if country == "BE" %}selected{% endif %}>Belgium</option>
|
|
<option value="HR" {% if country == "HR" %}selected{% endif %}>Croatia</option>
|
|
<option value="PL" {% if country == "PL" %}selected{% endif %}>Poland</option>
|
|
</select>
|
|
<input id="vat_number" type="text" placeholder="VAT number">
|
|
<button type="button" onclick="searchCompany()">Search</button>
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<input id="company_name" type="text" placeholder="Company" class="span-3">
|
|
</div>
|
|
|
|
<div class="row">
|
|
<input id="street" type="text" placeholder="Street" class="span-3">
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<input id="zip" type="text" placeholder="ZIP">
|
|
<input id="city" type="text" placeholder="City" class="span-2">
|
|
</div>
|
|
|
|
<div class="row">
|
|
<input id="email" type="email" placeholder="example@company.com" class="span-3">
|
|
</div>
|
|
|
|
<div class="row">
|
|
<input id="phone" type="text" placeholder="+32 123 45 67 89" class="span-3">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="button-row">
|
|
<button type="button" onclick="saveData()">Add to Receipt</button>
|
|
<button type="button" onclick="clearForm()">Clear</button>
|
|
<button type="button" onclick="saveData()">Cancel</button>
|
|
</div>
|
|
|
|
<div id="status" class="status">Ready.</div>
|
|
</div>
|
|
<script src="{{ url_for('static', filename='company_data.js') }}"></script>
|
|
|
|
</body>
|
|
</html> |