payment Card first 4 payments inc. mails
This commit is contained in:
parent
c20deac3fe
commit
6e3adac4d7
38 changed files with 3063 additions and 921 deletions
|
|
@ -73,7 +73,17 @@ class Util
|
|||
return false;
|
||||
}
|
||||
|
||||
public static function getUserShopBackUrl($uri){
|
||||
public static function getUserShopBackUrl(){
|
||||
|
||||
if(\Session::has('user_shop')){
|
||||
if($user_shop = \Session::get('user_shop')){
|
||||
return 'http://'.$user_shop->slug.".".Config('app.domain')."/back/to/shop";
|
||||
}
|
||||
}
|
||||
return url("/");
|
||||
}
|
||||
|
||||
public static function getUserCardBackUrl($uri){
|
||||
|
||||
if(\Session::has('user_shop')){
|
||||
if($user_shop = \Session::get('user_shop')){
|
||||
|
|
|
|||
|
|
@ -226,6 +226,13 @@ class Yard extends Cart
|
|||
return $this->numberFormat($subTotal, $decimals, $decimalPoint, $thousandSeperator);
|
||||
}
|
||||
|
||||
public function destroy()
|
||||
{
|
||||
$this->ysession->remove($this->yinstance);
|
||||
parent::destroy();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the Formated number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue