fixed user dashboard for store owner (store settings, store reports)/ fixed login/register page/

This commit is contained in:
Frank John Begornia
2019-09-24 19:52:38 +08:00
parent 502b13e793
commit 83f0624f07
45 changed files with 17655 additions and 373 deletions

View File

@@ -59,7 +59,8 @@ class PaypalController extends Controller {
if(Auth::guest()){
Session::flash('msg', 'Please login your account to proceed.');
$message = 'Please <a href="'. url('auth/login'). '">Sign in</a> to your account to proceed.';
Session::flash('msg', $message);
return Redirect::back();
}
@@ -111,9 +112,16 @@ class PaypalController extends Controller {
$order_subtotal = $updated_getSubtotal[0]->Subtotal;
$order_grandtotal = $updated_getSubtotal[0]->Subtotal;
$tax = $order_grandtotal * 0.10;
// $tax_value = 0.10;
if($grouped_item[0]->StoreId == 76){
$tax_value = 0;
}else{
$tax_value = 0.10;
}
$tax = $order_grandtotal * $tax_value;
foreach($updated_items as $key => $item){
// $descriptions = "Name: " . $item->Name . " Number: " . $item->Number . " Size: " . $item->Size;"?"