Posts by Carlos B • 101 points
6 posts
-
2
votes1
answer161
viewsQ: How to filter dates through Angularjs?
I have this function that takes how many accounts to pay there are and counts how many of them are within the range that I set. But you’re not getting the information right. $scope.filterDate =…
-
3
votes2
answers549
viewsQ: I cannot extract the information from Json on Laravel
I get a request like this... public function store(Request $request) { return response()->json($request->all()); } That’s the way out: anexoPdfGuia: {} guiaFiscal:…
-
0
votes1
answer45
viewsQ: Is the writing of that function correct?
I made this function so that it would take a js request and when inserting the name of a category, give a select in the database, check if the name already exists and if it returns 0 in Count, it…
-
4
votes1
answer292
viewsQ: How to check if data already exists in the bank before inserting another in angular?
I have already made a modal that receives a name, it sends the controller in the function of inserting new contact. I want to check if this data is already registered in the bank so that it does not…
-
1
votes1
answer34
viewsQ: Angularjs function is not respecting the condition!
I have this function, which takes two parameters, however, when I pass the different name, it falls into the if in the same way. $scope.deleteCategory = function(id, nome) { if(nome == 'Despesas…
-
0
votes2
answers1034
viewsQ: How do you pass two parameters in Ng-click Angular JS?
<button class="btn btn-conf-t btn-deletar" ng-click="deleteCategory(cat.id)"><i class="fa fa-trash"></i></button> Here I just step one parameter, it is possible to pass…