diff --git a/app/Booking.php b/app/Booking.php index aa664ec4..cffe157c 100644 --- a/app/Booking.php +++ b/app/Booking.php @@ -7,6 +7,22 @@ use Illuminate\Database\Eloquent\Model; class Booking extends Model { // protected $guarded = []; + protected $hidden = array('user_id', + "rate_id", + "rmb_book_amount", + "rmb_book_pay_method", + "rmb_book_account_name", + "rmb_book_bank_name", + "rmb_book_acc_no", + "rmb_book_bank_branch", + "usd_book_amount", + "usd_book_pay_method", + "usd_book_company_name", + "usd_book_company_address", + "usd_book_swift_code", + "usd_book_cnap", + "usd_book_bank_branch"); + protected $fillable = ['term', 'rate_id', 'user_id', 'amount', 'account_name', 'account_num', 'bank_name', 'bank_branch', 'company_name']; diff --git a/app/Http/Controllers/BookingController.php b/app/Http/Controllers/BookingController.php index 5d63d9eb..bf13e8b1 100644 --- a/app/Http/Controllers/BookingController.php +++ b/app/Http/Controllers/BookingController.php @@ -17,135 +17,179 @@ use DateTime; class BookingController extends Controller { - public function show($id) - { - $booking = Booking::where('user_id',Auth::user()->id)->where('id', $id)->first(); + public function index(){ + $bookings = Booking::select('id', 'created_at', 'status', 'rate', 'amount', 'bia', 'verification_status') + ->where('user_id',Auth::user()->id) + ->get(); + + // reformat to fit frontend structure + foreach ($bookings as $booking) { + // set timeout + $date1 = new DateTime($booking->created_at); + $date2 = new DateTime(); + $difference_in_seconds = ($date1->format('U') + 600) - ($date2->format('U')); + $booking->timeout = $difference_in_seconds; - $date1 = new DateTime($booking->created_at); - $date2 = new DateTime(); - $difference_in_seconds = ($date1->format('U') + 600) - ($date2->format('U')); + // TODO : you can make it better + if($difference_in_seconds < 0 ){ + $booking->timeout = 0; + } - + // TODO : transfer_amount change name to bia + $booking->transfer_amount = $booking->bia; + + $booking->track_status = "(". $booking->status ."/6)"; - $booking->timeout = $difference_in_seconds; + switch ($booking->status) { + case 1: + $booking->status_desc = "Order in progress"; + case 2: + $booking->status_desc = "Waiting for payment"; + case 3: + $booking->status_desc = "Waiting verification"; + case 4: + $booking->status_desc = "Processing transfer"; + case 5: + $booking->status_desc = "Transfer Complete, please upload your PO"; + case 6: + $booking->status_desc = "Processing invoice"; + default: + $booking->status_desc = ""; + } + } - if (!$booking){ - return response()->json(['success'=>false, 'message'=>'not found'], 404); - } - return $booking; - } + return $bookings; + } - public function store(Request $request) - { - $rates = Rate::orderby('updated_at','desc')->first(); - $term = $request->input('term'); - $amount = $request->input("amount"); - $user = Auth::user(); - $rate = 1; // default rate to 1 + public function show($id) + { + $booking = Booking::where('user_id',Auth::user()->id)->where('id', $id)->first(); - switch ($term) { - case "x1_cash": - $rate = $rates->x1_cash; - break; - case "x1_cheque": - $rate = $rates->x1_cheque; - break; - case "x1_ba": - $rate = $rates->x1_ba; - break; - case "x2_cash": - $rate = $rates->x2_cash; - break; - case "x2_cheque": - $rate = $rates->x2_cheque; - break; - case "x2_ba": - $rate = $rates->x2_ba; - break; - default: - return response()->json([ - 'success' => false, - 'message' => 'Invalid input', - ], 422); - break; - } - - // Service charge (RMB) : if amount higher than 10,000, no service charge. if amount lower than 10,000, 20.00 service charge - if ($amount >= 10000 && ($term == 'x2_cash' || $term = 'x2_cheque' || $term = 'x2_ba')) { - $svcharge = 0; - } else { - $svcharge = 20.00; - } + $date1 = new DateTime($booking->created_at); + $date2 = new DateTime(); + $difference_in_seconds = ($date1->format('U') + 600) - ($date2->format('U')); - // initial rmb to myr amount - $RMBinMYR = (($amount + $svcharge) / $rate); + $booking->timeout = $difference_in_seconds; - // TODO : Should be remove this ? - // gst 0% - $gst = 0 * $RMBinMYR; + if (!$booking){ + return response()->json(['success'=>false, 'message'=>'not found'], 404); + } + return $booking; + } - // Sales tax : 10 % - $sales_tax = 0.10 * $RMBinMYR; + public function store(Request $request) + { + $rates = Rate::orderby('updated_at','desc')->first(); + $term = $request->input('term'); + $amount = $request->input("amount"); + $user = Auth::user(); + $rate = 1; // default rate to 1 - // Billing fees : 1.5% - $billing = 0.015 * $RMBinMYR; + switch ($term) { + case "x1_cash": + $rate = $rates->x1_cash; + break; + case "x1_cheque": + $rate = $rates->x1_cheque; + break; + case "x1_ba": + $rate = $rates->x1_ba; + break; + case "x2_cash": + $rate = $rates->x2_cash; + break; + case "x2_cheque": + $rate = $rates->x2_cheque; + break; + case "x2_ba": + $rate = $rates->x2_ba; + break; + default: + return response()->json([ + 'success' => false, + 'message' => 'Invalid input', + ], 422); + break; + } + + // Service charge (RMB) : if amount higher than 10,000, no service charge. if amount lower than 10,000, 20.00 service charge + if ($amount >= 10000 && ($term == 'x2_cash' || $term = 'x2_cheque' || $term = 'x2_ba')) { + $svcharge = 0; + } else { + $svcharge = 20.00; + } - // Bank in amount - $bia = round($RMBinMYR + $gst + $sales_tax + $billing, 2); + // initial rmb to myr amount + $RMBinMYR = (($amount + $svcharge) / $rate); - $booking = new Booking(); - $booking->account_name = $request->input('account_name'); - $booking->account_num = $request->input('account_num'); - $booking->bank_name = $request->input('bank_name'); - $booking->bank_branch = $request->input('bank_branch'); - $booking->amount = $request->input('amount'); - $booking->term = $term; - $booking->rate_id = $rates->id; - $booking->rmb_book_amount = $request->input('amount'); - $booking->bia = $bia; - // $booking->user_id = $user->id; - $booking->user()->associate($user); - + // TODO : Should be remove this ? + // gst 0% + $gst = 0 * $RMBinMYR; - // The test failed due to ->save() before filling up the information at below + // Sales tax : 10 % + $sales_tax = 0.10 * $RMBinMYR; - // TODO : handle RMB, MYR and USD (we can use exchange type: USDtoMYR, RMBtoMYR vise versa to switch case) - // $booking->rmb_book_pay_method = $request->input('payment_method'); - // $booking->rmb_book_account_name = $request->input('rmb_book_account_name'); - // $booking->rmb_book_acc_no = $request->input('rmb_book_acc_no'); - // $booking->rmb_book_bank_branch = $request->input('rmb_book_bank_branch'); - // $booking->company_name = $request->input('company_name'); - // $booking->company_address = $request->input('company_address'); - // $booking->bank_address = $request->input('bank_address'); - // $booking->swift_code = $request->input('swift_code'); - // $booking->cnap = $request->input('cnap'); - // $booking->term = $request->input('term'); + // Billing fees : 1.5% + $billing = 0.015 * $RMBinMYR; - // $booking->usd_book_amount = $request->input('usd_book_amount'); - // $booking->usd_book_pay_method = $request->input('usd_book_pay_method'); - // $booking->usd_book_company_name = $request->input('usd_book_company_name'); - // $booking->usd_book_company_address = $request->input('usd_book_company_address'); - // $booking->usd_book_swift_code = $request->input('usd_book_swift_code'); - // $booking->usd_book_cnap = $request->input('usd_book_cnap'); - // $booking->usd_book_bank_branch = $request->input('usd_book_bank_branch'); - // $booking->verification_status = $request->input('verification_status'); - $booking->save(); - return response()->json($booking, 201); - } + // Bank in amount + $bia = round($RMBinMYR + $gst + $sales_tax + $billing, 2); - public function update(Request $request, $book_id) - { - $book_id = Booking::find($book_id); - $book_id->account_name = $request->input('account_name'); - $book_id->account_num = $request->input('account_num'); - $book_id->bank_name = $request->input('bank_name'); - $book_id->bank_branch = $request->input('bank_branch'); - $book_id->company_name = $request->input('company_name'); - $book_id->company_address = $request->input('company_address'); - $book_id->bank_address = $request->input('bank_address'); - $book_id->swift_code = $request->input('swift_code'); - $book_id->cnap = $request->input('cnap'); - $book_id->save(); + $booking = new Booking(); + $booking->account_name = $request->input('account_name'); + $booking->account_num = $request->input('account_num'); + $booking->bank_name = $request->input('bank_name'); + $booking->bank_branch = $request->input('bank_branch'); + $booking->amount = $request->input('amount'); + $booking->term = $term; + $booking->rate_id = $rates->id; + $booking->rate = $rate; + $booking->rmb_book_amount = $request->input('amount'); + $booking->status = 2; + $booking->bia = $bia; + // $booking->user_id = $user->id; + $booking->user()->associate($user); + + + // The test failed due to ->save() before filling up the information at below + + // TODO : handle RMB, MYR and USD (we can use exchange type: USDtoMYR, RMBtoMYR vise versa to switch case) + // $booking->rmb_book_pay_method = $request->input('payment_method'); + // $booking->rmb_book_account_name = $request->input('rmb_book_account_name'); + // $booking->rmb_book_acc_no = $request->input('rmb_book_acc_no'); + // $booking->rmb_book_bank_branch = $request->input('rmb_book_bank_branch'); + // $booking->company_name = $request->input('company_name'); + // $booking->company_address = $request->input('company_address'); + // $booking->bank_address = $request->input('bank_address'); + // $booking->swift_code = $request->input('swift_code'); + // $booking->cnap = $request->input('cnap'); + // $booking->term = $request->input('term'); + + // $booking->usd_book_amount = $request->input('usd_book_amount'); + // $booking->usd_book_pay_method = $request->input('usd_book_pay_method'); + // $booking->usd_book_company_name = $request->input('usd_book_company_name'); + // $booking->usd_book_company_address = $request->input('usd_book_company_address'); + // $booking->usd_book_swift_code = $request->input('usd_book_swift_code'); + // $booking->usd_book_cnap = $request->input('usd_book_cnap'); + // $booking->usd_book_bank_branch = $request->input('usd_book_bank_branch'); + // $booking->verification_status = $request->input('verification_status'); + $booking->save(); + return response()->json($booking, 201); + } + + public function update(Request $request, $book_id) + { + $book_id = Booking::find($book_id); + $book_id->account_name = $request->input('account_name'); + $book_id->account_num = $request->input('account_num'); + $book_id->bank_name = $request->input('bank_name'); + $book_id->bank_branch = $request->input('bank_branch'); + $book_id->company_name = $request->input('company_name'); + $book_id->company_address = $request->input('company_address'); + $book_id->bank_address = $request->input('bank_address'); + $book_id->swift_code = $request->input('swift_code'); + $book_id->cnap = $request->input('cnap'); + $book_id->save(); return response()->json(['book_id'=>$book_id],200); } diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php new file mode 100644 index 00000000..a3af7dd8 --- /dev/null +++ b/app/Http/Controllers/HomeController.php @@ -0,0 +1,28 @@ +middleware('auth'); + } + + /** + * Show the application dashboard. + * + * @return \Illuminate\Http\Response + */ + public function index() + { + return view('home'); + } +} diff --git a/database/migrations/2018_06_20_145105_add_rate_to_booking.php b/database/migrations/2018_06_20_145105_add_rate_to_booking.php new file mode 100644 index 00000000..f74e2fb8 --- /dev/null +++ b/database/migrations/2018_06_20_145105_add_rate_to_booking.php @@ -0,0 +1,33 @@ +double('rate')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('bookings', function (Blueprint $table) { + $table->dropColumn('rate'); + // $table->dropColumn('reject_reason'); + }); + } +} \ No newline at end of file diff --git a/database/migrations/2018_06_21_024802_add_status_to_booking_table.php b/database/migrations/2018_06_21_024802_add_status_to_booking_table.php new file mode 100644 index 00000000..3c7daec7 --- /dev/null +++ b/database/migrations/2018_06_21_024802_add_status_to_booking_table.php @@ -0,0 +1,33 @@ +integer('status')->default(1); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('bookings', function (Blueprint $table) { + $table->dropColumn('status'); + // $table->dropColumn('reject_reason'); + }); + } +} diff --git a/resources/assets/js/pages/booking/uploadUserBankSlip.vue b/resources/assets/js/pages/booking/uploadUserBankSlip.vue index 9323e09a..f1af9485 100644 --- a/resources/assets/js/pages/booking/uploadUserBankSlip.vue +++ b/resources/assets/js/pages/booking/uploadUserBankSlip.vue @@ -12,13 +12,13 @@ Amount :    - {{ booking.amount }} + RMB {{ booking.amount }} Bankin Amount :    - {{ booking.bankin_amount }} + MYR {{ booking.bankin_amount }} @@ -64,7 +64,7 @@
- Submit + Submit Upload Later @@ -103,6 +103,7 @@ return { status: 2, start: false, + loading: false, dialogImageUrl: '', dialogVisible: false, booking_id: this.$route.params.id, @@ -157,6 +158,7 @@ this.dialogVisible = true }, submitUserSlip(formName) { + this.loading = true this.$refs[formName].validate((valid) => { if (valid) { let newConfirmation = { @@ -165,6 +167,7 @@ } } else{ + this.loading = false return } }); @@ -173,12 +176,14 @@ } axios.patch('/api/booking/'+ this.booking_id +'/bankslip-amount', newUserSlip) .then((response) => { + this.$message({ showClose: true, message: 'Your bankinslip has been submitted, please wait admin to approve.', type: 'success', duration: 5000, }); + console.log(response) this.$router.push({ name: 'home' @@ -186,6 +191,7 @@ }) .catch((error) => { + this.loading = false this.$message({ showClose: true, message: 'Please upload your bankin slip first.', diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index 7144f47c..06308f43 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -239,11 +239,11 @@
- + Update - {{scope.row.booking_no}} + {{scope.row.id}} - + @@ -259,7 +259,7 @@

{{ scope.row.status_desc }}

- {{ scope.row.status }} + {{ scope.row.track_status }}
@@ -354,64 +354,70 @@ dialogFormVisible1: false, formLabelWidth: '0px', bookingTable: [{ - date: '12/1/2018', - booking_no: '001', + created_at: '12/1/2018', + id: '12', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(1/6)', + track_status: '(1/6)', status_desc: 'Waiting for payment', - timeout: '56:00:00' + timeout: '56:00:00', + status: 2 }, { - date: '12/1/2018', - booking_no: '002', + created_at: '12/1/2018', + id: '13', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(2/6)', + track_status: '(2/6)', status_desc: 'Waiting verification', - timeout: '56:00:00' + timeout: '56:00:00', + status: 3 }, { - date: '12/1/2018', - booking_no: '003', + created_at: '12/1/2018', + id: '14', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(3/6)', + track_status: '(3/6)', status_desc: 'Processing transfer', - timeout: '56:00:00' + timeout: '56:00:00', + status: 4 }, { - date: '12/1/2018', - booking_no: '004', + created_at: '12/1/2018', + id: '15', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(4/6)', + track_status: '(4/6)', status_desc: 'Transfer Complete, please upload your PO', - timeout: '56:00:00' + timeout: '56:00:00', + status: 5 }, { - date: '12/1/2018', - booking_no: '005', + created_at: '12/1/2018', + id: '16', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(5/6)', + track_status: '(5/6)', status_desc: 'Processing invoice', - timeout: '56:00:00' + timeout: '56:00:00', + status: 6 }, { - date: '12/1/2018', - booking_no: '006', + created_at: '12/1/2018', + id: '17', rate: '1.23', amount: 'RM 1000', transfer_amount: 'RMB 10000', - status: '(6/6)', + track_status: '(6/6)', status_desc: 'Order Completed', - timeout: '56:00:00' + timeout: '56:00:00', + status: 6 } ], bookingConfirmTable: { @@ -423,9 +429,30 @@ rate: 'undefined', bankin_amount: 'undefined', china_beneficiary: 'undefined', + status: 2 } } }, + mounted(){ + axios + .get('/api/booking/') + .then((response) => { + console.log(response) + this.bookingTable = response.data + + // this.booking.amount = response.data.amount + // this.booking.bankin_amount = response.data.bia + // this.booking.timeout = response.data.timeout * 1000 + // this.start = true; + //loading.close() + }).catch((error) => { + // console.log(error) + // loading.close() + // this.$router.push({ + // name: 'notfound' + // }) + }) + }, methods: { // TODO fetch booking data on load formatter(row, column) { @@ -521,10 +548,10 @@ return }) }, - BookingStatus(index, row) { - + BookingStatus(status, row) { + console.log(status) // TODO : Get booking status from server - this.status = 2 + this.status = status switch (this.status) { case 1: diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php new file mode 100644 index 00000000..e69de29b diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php new file mode 100644 index 00000000..4d469007 --- /dev/null +++ b/resources/views/auth/passwords/email.blade.php @@ -0,0 +1,47 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Reset Password') }}
+ +
+ @if (session('status')) +
+ {{ session('status') }} +
+ @endif + +
+ @csrf + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php new file mode 100644 index 00000000..52ef4266 --- /dev/null +++ b/resources/views/auth/passwords/reset.blade.php @@ -0,0 +1,65 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Reset Password') }}
+ +
+
+ @csrf + + + +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ + +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php new file mode 100644 index 00000000..60bdf664 --- /dev/null +++ b/resources/views/auth/register.blade.php @@ -0,0 +1,77 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
{{ __('Register') }}
+ +
+
+ @csrf + +
+ + +
+ + + @if ($errors->has('name')) + + {{ $errors->first('name') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('email')) + + {{ $errors->first('email') }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+ + +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php new file mode 100644 index 00000000..223d77ec --- /dev/null +++ b/resources/views/home.blade.php @@ -0,0 +1,23 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
Dashboard
+ +
+ @if (session('status')) +
+ {{ session('status') }} +
+ @endif + + You are logged in! +
+
+
+
+
+@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 00000000..efe06e45 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,75 @@ + + + + + + + + + + + {{ config('app.name', 'Laravel') }} + + + + + + + + + + + + +
+ + +
+ @yield('content') +
+
+ + diff --git a/routes/api.php b/routes/api.php index 353b74a8..47a3b639 100644 --- a/routes/api.php +++ b/routes/api.php @@ -26,10 +26,9 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { // return $request->user(); //}); Route::group(['middleware' => 'auth:api'], function () { - Route::post('logout', 'Auth\LoginController@logout'); - + Route::post('logout', 'Auth\LoginController@logout'); + /*Route for the booking */ - Route::get('/booking', 'BookingController@index'); Route::get('/booking/{book_id}', 'BookingController@show'); Route::put('/booking/{book_id}', 'BookingController@update'); Route::delete('/booking/{book_id}', 'BookingController@delete'); @@ -41,7 +40,8 @@ Route::group(['middleware' => 'auth:api'], function () { Route::patch('/booking/{id}/bankslip-amount', 'BookingController@updateBankSlipAmount'); Route::post('booking/{book_id}/reject-bank-slip','BookingController@rejectBankSlip'); Route::post('booking/{book_id}/approve-bank-slip','BookingController@approveBankSlip'); - Route::post('booking/{book_id}/cancel', 'BookingController@cancel'); + Route::post('booking/{book_id}/cancel', 'BookingController@cancel'); + Route::get('/booking', 'BookingController@index'); Route::get('/user', 'UserController@show'); }); @@ -50,10 +50,10 @@ Route::group(['middleware' => 'auth:api'], function () { Route::group(['middleware' => 'guest:api'], function () { - Route::post('login', 'Auth\LoginController@login'); - Route::post('register', 'Auth\RegisterController@create'); - Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail'); - Route::post('password/reset', 'Auth\ResetPasswordController@reset'); + Route::post('login', 'Auth\LoginController@login')->name('login'); + Route::post('register', 'Auth\RegisterController@create'); + Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail'); + Route::post('password/reset', 'Auth\ResetPasswordController@reset'); Route::post('oauth/{driver}', 'Auth\OAuthController@redirectToProvider'); Route::get('oauth/{driver}/callback', 'Auth\OAuthController@handleProviderCallback')->name('oauth.callback'); diff --git a/routes/web.php b/routes/web.php index 49812be0..7dc992f7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,8 +10,11 @@ | contains the "web" middleware group. Now create something great! | */ - Route::get('/', 'WelcomeController@index'); Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.request'); Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset'); Route::get('{path}', 'WelcomeController@index')->where('path', '(.*)'); + +Auth::routes(); + +//Route::get('/home', 'WelcomeController@index')->name('home'); diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 1e80bdb3..d4591e4e 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -19,6 +19,7 @@ return array( 'App\\Http\\Controllers\\BookingController' => $baseDir . '/app/Http/Controllers/BookingController.php', 'App\\Http\\Controllers\\ChinaBankSlipController' => $baseDir . '/app/Http/Controllers/ChinaBankSlipController.php', 'App\\Http\\Controllers\\Controller' => $baseDir . '/app/Http/Controllers/Controller.php', + 'App\\Http\\Controllers\\HomeController' => $baseDir . '/app/Http/Controllers/HomeController.php', 'App\\Http\\Controllers\\MarkingController' => $baseDir . '/app/Http/Controllers/MarkingController.php', 'App\\Http\\Controllers\\RateController' => $baseDir . '/app/Http/Controllers/RateController.php', 'App\\Http\\Controllers\\SettingBeneficiaryController' => $baseDir . '/app/Http/Controllers/SettingBeneficiaryController.php', @@ -36,6 +37,7 @@ return array( 'App\\Http\\Middleware\\TrimStrings' => $baseDir . '/app/Http/Middleware/TrimStrings.php', 'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php', 'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php', + 'App\\Invoice' => $baseDir . '/app/Invoice.php', 'App\\Marking' => $baseDir . '/app/Marking.php', 'App\\Notifications\\ResetPassword' => $baseDir . '/app/Notifications/ResetPassword.php', 'App\\OAuthProvider' => $baseDir . '/app/OAuthProvider.php', diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index db238916..5a86c631 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -447,6 +447,7 @@ class ComposerStaticInit6dcfe61ea7999ade723f072fea748b5a 'App\\Http\\Controllers\\BookingController' => __DIR__ . '/../..' . '/app/Http/Controllers/BookingController.php', 'App\\Http\\Controllers\\ChinaBankSlipController' => __DIR__ . '/../..' . '/app/Http/Controllers/ChinaBankSlipController.php', 'App\\Http\\Controllers\\Controller' => __DIR__ . '/../..' . '/app/Http/Controllers/Controller.php', + 'App\\Http\\Controllers\\HomeController' => __DIR__ . '/../..' . '/app/Http/Controllers/HomeController.php', 'App\\Http\\Controllers\\MarkingController' => __DIR__ . '/../..' . '/app/Http/Controllers/MarkingController.php', 'App\\Http\\Controllers\\RateController' => __DIR__ . '/../..' . '/app/Http/Controllers/RateController.php', 'App\\Http\\Controllers\\SettingBeneficiaryController' => __DIR__ . '/../..' . '/app/Http/Controllers/SettingBeneficiaryController.php', @@ -464,6 +465,7 @@ class ComposerStaticInit6dcfe61ea7999ade723f072fea748b5a 'App\\Http\\Middleware\\TrimStrings' => __DIR__ . '/../..' . '/app/Http/Middleware/TrimStrings.php', 'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php', 'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php', + 'App\\Invoice' => __DIR__ . '/../..' . '/app/Invoice.php', 'App\\Marking' => __DIR__ . '/../..' . '/app/Marking.php', 'App\\Notifications\\ResetPassword' => __DIR__ . '/../..' . '/app/Notifications/ResetPassword.php', 'App\\OAuthProvider' => __DIR__ . '/../..' . '/app/OAuthProvider.php',