Content-Length: 309027 | pFad | http://github.com/eduardozo/SmartStay/commit/bc70ad94730b452791819bac75a776315fe56b32

D4 prueba history · eduardozo/SmartStay@bc70ad9 · GitHub
Skip to content

Commit

Permalink
prueba history
Browse files Browse the repository at this point in the history
  • Loading branch information
caburgos committed Jun 17, 2018
1 parent 16a359a commit bc70ad9
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 25 deletions.
28 changes: 16 additions & 12 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -57963,20 +57963,24 @@ new Vue({
insertTaxi: function insertTaxi() {
var _this17 = this;

var urlInsTaxi = 'admin/service/taxi';
axios.post(urlInsTaxi, {
day_hour: this.dayHourServ
if (this.dayHourServ <= this.dataActual) {
this.errorDayHour = true;
} else {
var urlInsTaxi = 'admin/service/taxi';
axios.post(urlInsTaxi, {
day_hour: this.dayHourServ

}).then(function (response) {
_this17.showResult = true;
toastr.success("adios");
console.log("correcto taxiiii");
}).catch(function (error) {
}).then(function (response) {
_this17.showResult = true;
toastr.success("adios");
console.log("correcto taxiiii");
}).catch(function (error) {

toastr.success("sdfsadf");
_this17.errores = error.response.data;
console.log("taxino no");
});
toastr.success("sdfsadf");
_this17.errores = error.response.data;
console.log("taxino no");
});
}
},
insertPetCare: function insertPetCare() {
var _this18 = this;
Expand Down
29 changes: 17 additions & 12 deletions resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,21 +432,26 @@ Vue.component('confirmcancel', require('./components/confirmCancel.vue'))
}
},
insertTaxi: function(){
var urlInsTaxi ='admin/service/taxi';
axios.post(urlInsTaxi,{
day_hour: this.dayHourServ
if(this.dayHourServ<=this.dataActual){
this.errorDayHour = true;
}else {
var urlInsTaxi = 'admin/service/taxi';
axios.post(urlInsTaxi, {
day_hour: this.dayHourServ

}).then(response=>{
this.showResult = true;
toastr.success("adios");
console.log("correcto taxiiii");
}).catch(error=>{
}).then(response => {
this.showResult = true;
toastr.success("adios");
console.log("correcto taxiiii");
}).
catch(error => {

toastr.success("sdfsadf");
this.errores = error.response.data;
console.log("taxino no");
toastr.success("sdfsadf");
this.errores = error.response.data;
console.log("taxino no");

})
})
}
},
insertPetCare: function(){
var urlInsPetCare ='admin/service/petcare';
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<load-screen
:animation-duration="1000"
:size="60"
color="#46ce90"
color="#ff1d5e"
/>
</div>
</transition>
Expand Down

0 comments on commit bc70ad9

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/eduardozo/SmartStay/commit/bc70ad94730b452791819bac75a776315fe56b32

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy