ferwf
This commit is contained in:
parent
bbc225bd17
commit
6bf83665f7
16 changed files with 113 additions and 85 deletions
|
|
@ -544,6 +544,9 @@ angular.module('your_app_name.controllers', [])
|
|||
})
|
||||
.controller('AllTicketsCtrl', function($scope, $http) {
|
||||
})
|
||||
|
||||
.controller('AllShopCtrl', function($scope, $http) {
|
||||
})
|
||||
.controller('HomeCtrl', function($scope, $http) {
|
||||
|
||||
$scope.home_categories = [];
|
||||
|
|
@ -559,7 +562,12 @@ angular.module('your_app_name.controllers', [])
|
|||
|
||||
$scope.categoryId = $stateParams.categoryId;
|
||||
console.log($scope.categoryId);
|
||||
|
||||
$scope.modifica=false;
|
||||
$scope.cambiaModifica = function()
|
||||
{
|
||||
$scope.modifica=!$scope.modifica;
|
||||
|
||||
}
|
||||
switch($scope.categoryId)
|
||||
{
|
||||
case "addticketwithphoto":
|
||||
|
|
@ -591,6 +599,16 @@ angular.module('your_app_name.controllers', [])
|
|||
console.log("odod");
|
||||
break;
|
||||
}
|
||||
case "alltickets":
|
||||
{
|
||||
$scope.categoryTitle = "Tutti I Biglietti";
|
||||
break;
|
||||
}
|
||||
case "allshop":
|
||||
{
|
||||
$scope.categoryTitle = "Tutti Gli Acquisti";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue