Questions tagged as 'laravel'

0
answers

Transaction with Laravel

DB::connection('gtsql')->beginTransaction(); $seriefat = DB::connection('gtsql')->table('se_seriefat') ->where('c_codserie', 'FO')->first(); echo $seriefat->c_numultdoc; sleep(15); DB::connecti...
asked by 28.11.2017 / 14:53
1
answer

Non-fiscal PHP coupon printing

Hello, I wonder if it is possible to print non-tax coupon via PHP? If so, how could you do this implementation? I use Laravel 5.5     
asked by 09.12.2017 / 17:55
0
answers

Error in Laravel that does not find a routine that exists

You are giving the error below on my system in Laravel 5.4. What could be causing this error? I have already reviewed and already rode the command: php artisan clear-compiled Followspartsofthecodeandtheirclasses.prefeitura.blade.ph...
asked by 30.01.2018 / 02:57
1
answer

Data record in the Database in Laravel 5.4?

I've got a project in progress but I still do not know Laravel very well, and I'm trying to save the data in the database using this code in controller : public function store(Request $request) { $validator = \Validator::make($request->...
asked by 23.11.2017 / 19:04
1
answer

Laravel Auth :: Atempt () always returns false

I tried to authenticate, but always returns false in the Auth::attempt() method of Laravel: $prontuario = Input::get('prontuario'); $senha = Input::get('senhas'); if (Auth::attempt(['prontuario' => $prontuario, 'senha' =>...
asked by 03.11.2016 / 00:50
0
answers

Error Undefined offset

I have this error and I can not resolve it. ErrorException in VendasController.php line 73: Undefined offset: 0 // The line that is returning this error:      'default_name' = > $ client [0] -> memo_padrao, public function index($id =...
asked by 23.11.2017 / 12:27
0
answers

privileges in javascript

I'm trying to do a validation for the user: doctor does not have access to the value of the query and the other users have access to the value of the query, I manage to not show up for the doctor, so it's catching all users of the system. f...
asked by 21.11.2017 / 12:12
1
answer

Save several attributes to the same object in Laravel

I have a property table of other properties and created a property_table_table since an property can have several attributes. I have created the models Imovel and Attribute, I need to create an Imovel_atributo model? How could I do in the store...
asked by 30.11.2016 / 17:18
1
answer

LARAVEL - Loss after running the MIGRATE command

On Monday I inserted a new migrate into a project where a new table was created. After running the commands in the local environment and everything works, I upgraded the git from the production server and circled PHP ARTISAN MIGRATE as usual....
asked by 06.12.2017 / 17:39
1
answer

Laravel - RESTful API

I'm following a tutorial, for creating a Rest application in Laravel , in the second part of this tutorial Laravel -parte2 , when I use the command: php artisan route:list Displays this error PHP Fatal error: Class 'App\Http\Controll...
asked by 20.11.2017 / 04:04