@@ -1,5 +1,6 @@
|
||||
import { Head, Link, useForm } from '@inertiajs/react';
|
||||
import {
|
||||
TableViewport,
|
||||
PageTitle,
|
||||
Panel,
|
||||
FormErrors,
|
||||
@@ -111,7 +112,7 @@ export default function Availability(props: Props) {
|
||||
<p>Seleccione o armazém para consultar.</p>
|
||||
) : (
|
||||
<>
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full text-left text-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -201,7 +202,7 @@ export default function Availability(props: Props) {
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
{props.rows.data.length === 0 && (
|
||||
<p>Sem artigos nos filtros seleccionados.</p>
|
||||
)}
|
||||
|
||||
@@ -7,6 +7,7 @@ import { TerritorialFilter } from '@/components/territorial-filter';
|
||||
import { Head, Link, useForm } from '@inertiajs/react';
|
||||
import { InventoryNotice, InventoryPagination } from '@/components/inventory';
|
||||
import {
|
||||
TableViewport,
|
||||
FormErrors,
|
||||
PageTitle,
|
||||
Panel,
|
||||
@@ -178,7 +179,7 @@ export default function Stock({
|
||||
</select>
|
||||
<Button variant="outline">Filtrar</Button>
|
||||
</form>
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full text-left text-sm">
|
||||
<thead className="border-b text-muted-foreground">
|
||||
<tr>
|
||||
@@ -229,7 +230,7 @@ export default function Stock({
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
{balances.length === 0 && (
|
||||
<p className="py-6 text-sm text-muted-foreground">
|
||||
Não há entradas confirmadas para estes filtros.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Head, Link, useForm } from '@inertiajs/react';
|
||||
import {
|
||||
TableViewport,
|
||||
PageTitle,
|
||||
Panel,
|
||||
FormErrors,
|
||||
@@ -490,7 +491,7 @@ export default function WarehouseRequest(props: Props) {
|
||||
</div>
|
||||
)}
|
||||
<Panel title="Artigos e atendimento">
|
||||
<div className="overflow-x-auto">
|
||||
<TableViewport>
|
||||
<table className="w-full text-left text-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -545,7 +546,7 @@ export default function WarehouseRequest(props: Props) {
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</TableViewport>
|
||||
<p className="mt-4 text-sm">
|
||||
{p.reservation_ready
|
||||
? 'A autorização reserva o material utilizável disponível. Só a entrega confirmada reduz o stock. Retenções de qualidade e validade são revalidadas na entrega.'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Head, Link, useForm } from '@inertiajs/react';
|
||||
import {
|
||||
ActionBar,
|
||||
PageTitle,
|
||||
Panel,
|
||||
FormErrors,
|
||||
@@ -535,7 +536,7 @@ export default function Requests(props: Props) {
|
||||
)}
|
||||
</fieldset>
|
||||
))}
|
||||
<div className="flex gap-3">
|
||||
<ActionBar>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
@@ -559,7 +560,7 @@ export default function Requests(props: Props) {
|
||||
>
|
||||
Guardar rascunho
|
||||
</Button>
|
||||
</div>
|
||||
</ActionBar>
|
||||
{props.costCenters.length === 0 && (
|
||||
<p>
|
||||
É necessário um centro de custo
|
||||
|
||||
Reference in New Issue
Block a user