@@ -13,6 +13,7 @@ import { Button } from '@/components/ui/button';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { date, money, priorityLabels, roleLabels } from '@/types/procurement';
|
||||
import type { Requisition } from '@/types/procurement';
|
||||
import { requisitionCategoryLabels } from '@/components/requisition-category-fields';
|
||||
|
||||
type Audit = {
|
||||
id: number;
|
||||
@@ -331,10 +332,11 @@ export default function Show({
|
||||
(r.draft_input?.incomplete ? (
|
||||
<div role="status" className="rounded-xl border p-5">
|
||||
<p>
|
||||
Rascunho incompleto guardado. Os montantes estão
|
||||
por completar; não há submissão nem reserva
|
||||
orçamental. As linhas anteriormente completas
|
||||
não representam esta preparação.
|
||||
Rascunho incompleto guardado. Complete os dados
|
||||
e os requisitos aplicáveis às linhas; não há
|
||||
submissão nem reserva orçamental. As linhas
|
||||
anteriormente completas não representam esta
|
||||
preparação.
|
||||
</p>
|
||||
<Link
|
||||
className="mt-3 inline-block underline"
|
||||
@@ -453,6 +455,22 @@ export default function Show({
|
||||
<p className="mt-1 text-xs text-muted-foreground">
|
||||
{i.category}
|
||||
</p>
|
||||
{i.category_context && (
|
||||
<p className="mt-1 text-xs">
|
||||
{requisitionCategoryLabels[
|
||||
i
|
||||
.category_context
|
||||
.category
|
||||
] ??
|
||||
i
|
||||
.category_context
|
||||
.category}
|
||||
{i
|
||||
.category_context
|
||||
.reason &&
|
||||
` · ${i.category_context.reason}`}
|
||||
</p>
|
||||
)}
|
||||
{i.equipment_id && (
|
||||
<p className="mt-1 text-xs">
|
||||
Equipamento #
|
||||
|
||||
Reference in New Issue
Block a user