70 lines
2.4 KiB
HTML
70 lines
2.4 KiB
HTML
|
{# DrCr: Web-based double-entry bookkeeping framework
|
||
|
Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo)
|
||
|
|
||
|
This program is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU Affero General Public License as published by
|
||
|
the Free Software Foundation, either version 3 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU Affero General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Affero General Public License
|
||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||
|
#}
|
||
|
|
||
|
{% extends 'base.html' %}
|
||
|
{% block title %}Multiple CGT adjustments{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h1 class="h2 my-4">Multiple CGT adjustments</h1>
|
||
|
|
||
|
<form method="POST">
|
||
|
<h2 class="h3">CGT assets</h2>
|
||
|
|
||
|
<div class="row mb-2">
|
||
|
<label class="col-sm-2 col-form-label">Account</label>
|
||
|
<div class="col-sm-10">
|
||
|
<input type="text" class="form-control" name="account" value="{{ account or '' }}">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-2">
|
||
|
<label class="col-sm-2 col-form-label">Commodity</label>
|
||
|
<div class="col-sm-10">
|
||
|
<input type="text" class="form-control" name="commodity" value="{{ commodity or '' }}">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="alert alert-info" role="alert">
|
||
|
The total cost adjustment will be distributed proportionally across all matching CGT assets.
|
||
|
</div>
|
||
|
|
||
|
<h2 class="h3 mt-4">CGT adjustment</h2>
|
||
|
|
||
|
<div class="row mb-2">
|
||
|
<label class="col-sm-2 col-form-label">Adjustment date</label>
|
||
|
<div class="col-sm-10">
|
||
|
<input type="date" class="form-control" name="dt" value="{{ dt or '' }}">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-2">
|
||
|
<label class="col-sm-2 col-form-label">Description</label>
|
||
|
<div class="col-sm-10">
|
||
|
<input type="text" class="form-control" name="description" value="{{ description or '' }}">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-4">
|
||
|
<label class="col-sm-2 col-form-label">Total cost adjustment</label>
|
||
|
<div class="col-sm-10">
|
||
|
<input type="number" class="form-control" name="cost_adjustment" step="0.01" value="{{ cost_adjustment or '' }}">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="text-end">
|
||
|
<button type="submit" class="btn btn-primary">Save</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
{% endblock %}
|