up
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{{template "layouts/main" .}}
|
||||
|
||||
<div x-data="facturasApp()" x-init="init()" class="p-6">
|
||||
|
||||
<div class="flex items-center justify-between mb-6">
|
||||
@@ -39,7 +37,7 @@
|
||||
<template x-for="f in items" :key="f.ID">
|
||||
<tr class="hover:bg-slate-50">
|
||||
<td class="px-4 py-3 font-mono text-xs text-slate-500" x-text="f.numero||`#${f.ID}`"></td>
|
||||
<td class="px-4 py-3 text-slate-700" x-text="f.cliente?.razon_social||f.cliente?.nombre||'-'"></td>
|
||||
<td class="px-4 py-3 text-slate-700" x-text="f.cliente?.empresa||f.cliente?.nombre||'-'"></td>
|
||||
<td class="px-4 py-3 text-slate-600 max-w-xs truncate" x-text="f.descripcion"></td>
|
||||
<td class="px-4 py-3 font-semibold text-slate-800" x-text="`${f.moneda} ${Number(f.monto).toLocaleString('es-CO')}`"></td>
|
||||
<td class="px-4 py-3">
|
||||
@@ -96,7 +94,7 @@
|
||||
<select x-model.number="form.cliente_id" class="input-field w-full" required>
|
||||
<option value="">Seleccionar...</option>
|
||||
<template x-for="c in clientes" :key="c.ID">
|
||||
<option :value="c.ID" x-text="c.razon_social||c.nombre"></option>
|
||||
<option :value="c.ID" x-text="c.empresa||c.nombre"></option>
|
||||
</template>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user