|
@@ -36,6 +36,7 @@ export function ConfiguracionTributariaManager() {
|
|
|
nombreComercial: '',
|
|
nombreComercial: '',
|
|
|
ruc: '',
|
|
ruc: '',
|
|
|
dirMatriz: '',
|
|
dirMatriz: '',
|
|
|
|
|
+ dirEstablecimiento: '',
|
|
|
estab: '001',
|
|
estab: '001',
|
|
|
ptoEmi: '001',
|
|
ptoEmi: '001',
|
|
|
secuencial: '000000001',
|
|
secuencial: '000000001',
|
|
@@ -51,6 +52,7 @@ export function ConfiguracionTributariaManager() {
|
|
|
nombreComercial: '',
|
|
nombreComercial: '',
|
|
|
ruc: '',
|
|
ruc: '',
|
|
|
dirMatriz: '',
|
|
dirMatriz: '',
|
|
|
|
|
+ dirEstablecimiento: '',
|
|
|
estab: '001',
|
|
estab: '001',
|
|
|
ptoEmi: '001',
|
|
ptoEmi: '001',
|
|
|
secuencial: '000000001',
|
|
secuencial: '000000001',
|
|
@@ -131,6 +133,7 @@ export function ConfiguracionTributariaManager() {
|
|
|
nombreComercial: config.nombreComercial,
|
|
nombreComercial: config.nombreComercial,
|
|
|
ruc: config.ruc,
|
|
ruc: config.ruc,
|
|
|
dirMatriz: config.dirMatriz,
|
|
dirMatriz: config.dirMatriz,
|
|
|
|
|
+ dirEstablecimiento: config.dirEstablecimiento || '',
|
|
|
estab: config.estab,
|
|
estab: config.estab,
|
|
|
ptoEmi: config.ptoEmi,
|
|
ptoEmi: config.ptoEmi,
|
|
|
secuencial: config.secuencial,
|
|
secuencial: config.secuencial,
|
|
@@ -292,6 +295,10 @@ export function ConfiguracionTributariaManager() {
|
|
|
<Label className="mt-2 text-muted-foreground">Dirección Matriz</Label>
|
|
<Label className="mt-2 text-muted-foreground">Dirección Matriz</Label>
|
|
|
<p>{config.dirMatriz}</p>
|
|
<p>{config.dirMatriz}</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div className="col-span-2 md:col-span-3">
|
|
|
|
|
+ <Label className="mt-2 text-muted-foreground">Dirección Establecimiento</Label>
|
|
|
|
|
+ <p>{config.dirEstablecimiento || 'No especificada'}</p>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
)}
|
|
)}
|
|
|
</CardContent>
|
|
</CardContent>
|
|
@@ -456,7 +463,7 @@ function ConfiguracionForm({ formData, setFormData, onSave, onCancel, isEdit = f
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="space-y-2">
|
|
|
|
|
|
|
+ <div className="space-y-2 md:col-span-2">
|
|
|
<Label htmlFor="dirMatriz">Dirección Matriz *</Label>
|
|
<Label htmlFor="dirMatriz">Dirección Matriz *</Label>
|
|
|
<Input
|
|
<Input
|
|
|
id="dirMatriz"
|
|
id="dirMatriz"
|
|
@@ -466,6 +473,16 @@ function ConfiguracionForm({ formData, setFormData, onSave, onCancel, isEdit = f
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
+ <div className="space-y-2 md:col-span-2">
|
|
|
|
|
+ <Label htmlFor="dirEstablecimiento">Dirección Establecimiento *</Label>
|
|
|
|
|
+ <Input
|
|
|
|
|
+ id="dirEstablecimiento"
|
|
|
|
|
+ value={formData.dirEstablecimiento}
|
|
|
|
|
+ onChange={(e) => setFormData({ ...formData, dirEstablecimiento: e.target.value })}
|
|
|
|
|
+ placeholder="Av. Secundaria 456"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<div className="space-y-2">
|
|
<div className="space-y-2">
|
|
|
<Label htmlFor="obligadoContabilidad">Obligado a Llevar Contabilidad *</Label>
|
|
<Label htmlFor="obligadoContabilidad">Obligado a Llevar Contabilidad *</Label>
|
|
|
<Select
|
|
<Select
|