mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminado el flujo completo de facturas, incluyendo cambio en el texto de pedidos y facturas cuando no tiene factura validada
This commit is contained in:
@ -86,7 +86,7 @@
|
||||
<label for="total_precio" class="form-label">
|
||||
<?= lang('Pedidos.total_precio') ?>
|
||||
</label>
|
||||
<input readonly id="total_precio" name="total_precio" tabindex="1" maxLength="11" class="form-control" value="<?= old('total_precio', $pedidoEntity->total_precio) ?>" >
|
||||
<input readonly id="total_precio" name="total_precio" tabindex="1" maxLength="11" class="form-control autonumeric" value="<?= old('total_precio', $pedidoEntity->total_precio) ?>" >
|
||||
</div>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
@ -210,6 +210,15 @@ if(<?= $pedidoEntity->inaplazable?1:0 ?>){
|
||||
$('.inaplazable-date').addClass('text-danger fw-bold');
|
||||
}
|
||||
|
||||
const autonumericTotalPrecio = new AutoNumeric('#total_precio', {
|
||||
decimalPlaces: 2,
|
||||
digitGroupSeparator: '.',
|
||||
decimalCharacter: ',',
|
||||
allowDecimalPadding: true,
|
||||
unformatOnSubmit: true,
|
||||
});
|
||||
|
||||
|
||||
|
||||
$("#fecha_entrega_real").flatpickr({
|
||||
defaultDate: <?= $pedidoEntity->fecha_entrega_real_text ? "'".$pedidoEntity->fecha_entrega_real_text."'" : 'null' ?>,
|
||||
|
||||
Reference in New Issue
Block a user