fixed user dashboard for store owner (store settings, store reports)/ fixed login/register page/
This commit is contained in:
@@ -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;"?"
|
||||
|
||||
Reference in New Issue
Block a user