Commit f2dbb3ab580811102202033800ce4b3965e703d0

Authored by Eric Fernandez
1 parent d9da0b2f86
Exists in master and in 1 other branch develop

agrego dateTime

src/js/controller.js
... ... @@ -3,6 +3,8 @@ angular.module('focaAdminSeguimiento') .controller('focaAdminSeguimientoControll
3 3 function($scope, focaAdminSeguimientoService, $location, $routeParams) {
4 4 $scope.actividad = '';
5 5  
  6 + $scope.now = new Date();
  7 +
6 8 if ($routeParams.parametro === 'nota-pedido') {
7 9 $scope.actividad = 'Nota de pedido';
8 10 }
src/views/foca-admin-seguimiento.html
... ... @@ -9,6 +9,13 @@
9 9 />
10 10 </div>
11 11 <div class="col-2 pl-0">
  12 + <input
  13 + type="date"
  14 + ng-model="now"
  15 + class="btn col-12 my-1"
  16 + foca-focus="true"
  17 + hasta-hoy
  18 + />
12 19 <button
13 20 type="button"
14 21 ng-class="{'active': general}"