You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.4 KiB
31 lines
1.4 KiB
{% extends "base.html" %}
|
|
|
|
{% block title %}快速录入{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="w-full">
|
|
<section class="mb-4 flex items-start justify-between gap-3 sm:mb-5">
|
|
<div>
|
|
<div class="flex items-center gap-2">
|
|
<h2 class="page-title">快速录入</h2>
|
|
<span class="rounded-full bg-accent-100 px-3 py-1 text-xs font-medium text-accent-700 dark:bg-accent-900/40 dark:text-accent-300">现金 · 当天</span>
|
|
</div>
|
|
</div>
|
|
<a class="btn btn-secondary shrink-0" href="{{ url_for('quick_entry.index', q=search_term, include_bride_side='1') if include_bride_side else (url_for('quick_entry.index', q=search_term) if search_term else url_for('quick_entry.index')) }}">返回搜索</a>
|
|
</section>
|
|
|
|
<section class="mb-4 rounded-2xl border border-neutral-200 bg-white px-4 py-3 text-sm text-neutral-700 shadow-soft dark:border-neutral-700 dark:bg-neutral-800 dark:text-neutral-200 sm:mb-5">
|
|
<div class="flex flex-wrap items-center gap-2">
|
|
<span class="status-badge status-badge-muted">{{ household.head_name }}</span>
|
|
<span class="text-neutral-500 dark:text-neutral-400">{{ household_value_label('side', household.side) }}</span>
|
|
<span class="status-badge status-badge-muted">{{ household.household_code }}</span>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card">
|
|
<div class="card-body">
|
|
{% include "quick_entry/_edit_form.html" %}
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% endblock %}
|
|
|