diff --git a/app/Http/Resources/SubpedidoResource.php b/app/Http/Resources/SubpedidoResource.php index e6361ba..f659379 100644 --- a/app/Http/Resources/SubpedidoResource.php +++ b/app/Http/Resources/SubpedidoResource.php @@ -17,11 +17,11 @@ class SubpedidoResource extends JsonResource return [ 'id' => $this->id, 'nombre' => $this->nombre, - 'subtotal_productos' => $this->getSubtotalProductos(), - 'subtotal_bonos' => $this->getSubtotalBonos(), + 'subtotal_productos' => number_format($this->getSubtotalProductos(),2), + 'subtotal_bonos' => number_format($this->getSubtotalBonos(),2), 'bonos_de_transporte' => $this->cantidadBDT(), - 'subtotal_bonos_de_transporte' => $this->getSubtotalBDT(), - 'total' => $this->getTotal(), + 'subtotal_bonos_de_transporte' => number_format($this->getSubtotalBDT(),2), + 'total' => number_format($this->getTotal(),2), 'grupo_de_compra' => $this->grupoDeCompra ]; } diff --git a/public/assets/chismosa.png b/public/assets/chismosa.png new file mode 100644 index 0000000..daf7c26 Binary files /dev/null and b/public/assets/chismosa.png differ diff --git a/public/js/app.js b/public/js/app.js index 017f800..07d0845 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -8,6 +8,10 @@ Vue.component('nav-bar', { + + +

$

+