mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to address issues observed during initial testing. These files have been updated in order to generate a new set of app images.
This commit is contained in:
@@ -5,10 +5,8 @@ namespace Streamline\Http\Controllers;
|
||||
use Illuminate\Http\Request;
|
||||
use Streamline\Models\District;
|
||||
use Streamline\Models\HospitalInformation;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
//use Log;
|
||||
use Auth;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Streamline\Models\Parish;
|
||||
@@ -152,7 +150,7 @@ class HospitalInformationController extends Controller {
|
||||
$current_lab_stamp = $request->current_lab_stamp;
|
||||
$new_lab_stamp = $lab_stamp_destination_path . $lab_stamp_name;
|
||||
$hospital_information->lab_stamp = $new_lab_stamp ? $new_lab_stamp : $current_lab_stamp;
|
||||
$hospital_information->updated_by = auth()->user()->id;
|
||||
$hospital_information->updated_by = Auth::id();
|
||||
$hospital_information->save();
|
||||
|
||||
//update the streamline setup table with the new finished step
|
||||
@@ -218,7 +216,6 @@ class HospitalInformationController extends Controller {
|
||||
'stamp' => 'nullable|file|mimes:jpg,jpeg,bmp,png,webp,gif,svg',
|
||||
'lab_stamp' => 'nullable|file|mimes:jpg,jpeg,bmp,png,gif,svg,webp',
|
||||
'logo' => 'nullable|file|mimes:jpg,jpeg,bmp,png,gif,svg,webp',
|
||||
'email' => 'email',
|
||||
'back_date' => 'required|numeric|min:0',
|
||||
]);
|
||||
|
||||
@@ -230,7 +227,7 @@ class HospitalInformationController extends Controller {
|
||||
flash($string)->error();
|
||||
return back()->withErrors($validator)->withInput();
|
||||
} else {
|
||||
$logged_in_user_id = Auth::user()->id;
|
||||
$logged_in_user_id = Auth::id();
|
||||
$hospital_information = HospitalInformation::find($id);
|
||||
|
||||
$hospital_information->name = $request->name;
|
||||
|
||||
Reference in New Issue
Block a user