Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eduayme committed Feb 13, 2021
1 parent 089f8bb commit 83cd55c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p align="center">
<a href="https://github.styleci.io/repos/184948124"><img src="https://github.styleci.io/repos/184948124/shield?branch=master" alt="StyleCI"></a>
<a href="https://travis-ci.org/eduayme/RescueApp"><img src="https://travis-ci.org/eduayme/RescueApp.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/eduayme/RescueApp/releases/tag/v1.3"><img src="https://img.shields.io/badge/version-v1.3-blue"></a>
<a href="https://github.com/eduayme/RescueApp/releases/tag/v1.3.1"><img src="https://img.shields.io/badge/version-v1.3.1-blue"></a>
<a href="https://github.com/eduayme/RescueApp/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License"></a>
</p>

Expand Down
32 changes: 16 additions & 16 deletions app/Http/Controllers/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,23 +140,23 @@ public function store(Request $request)
foreach ($request->input('lost_person_name') as $key => $value) {
if ($value != '') {
$lost_person = new LostPerson([
'search_id' => $search->id,
'name' => $value,
'name_respond' => $request->input('lost_person_name_respond')[$key],
'age' => $request->input('lost_person_age')[$key],
'phone_number' => $request->input('lost_person_phone_number')[$key],
'whatsapp_or_gps' => $request->input('whatsapp_or_gps')[$key],
'profile' => $request->input('profile')[$key],
'physical_appearance' => $request->input('physical_appearance')[$key],
'clothes' => $request->input('clothes')[$key],
'physical_condition' => $request->input('physical_condition')[$key],
'diseases_or_injuries' => $request->input('diseases_or_injuries')[$key],
'medication' => $request->input('medication')[$key],
'search_id' => $search->id,
'name' => $value,
'name_respond' => $request->input('lost_person_name_respond')[$key],
'age' => $request->input('lost_person_age')[$key],
'phone_number' => $request->input('lost_person_phone_number')[$key],
'whatsapp_or_gps' => $request->input('whatsapp_or_gps')[$key],
'profile' => $request->input('profile')[$key],
'physical_appearance' => $request->input('physical_appearance')[$key],
'clothes' => $request->input('clothes')[$key],
'physical_condition' => $request->input('physical_condition')[$key],
'diseases_or_injuries' => $request->input('diseases_or_injuries')[$key],
'medication' => $request->input('medication')[$key],
'discapacities_or_limitations' => $request->input('discapacities_or_limitations')[$key],
'other' => $request->input('other')[$key],
'model_vehicle' => $request->input('model_vehicle')[$key],
'color_vehicle' => $request->input('color_vehicle')[$key],
'car_plate_number' => $request->input('car_plate_number')[$key],
'other' => $request->input('other')[$key],
'model_vehicle' => $request->input('model_vehicle')[$key],
'color_vehicle' => $request->input('color_vehicle')[$key],
'car_plate_number' => $request->input('car_plate_number')[$key],
]);
$lost_person->save();
}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/parts/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<li class="list-inline-item"> | </li>

<li class="list-inline-item">
<a href="https://github.com/eduayme/RescueApp/releases/tag/v1.3" target="_blank">
v1.3.0
<a href="https://github.com/eduayme/RescueApp/releases/tag/v1.3.1" target="_blank">
v1.3.1
</a>
</li>

Expand Down

0 comments on commit 83cd55c

Please sign in to comment.