coding styles
This commit is contained in:
@@ -16,6 +16,7 @@ class PayboxController extends Controller
|
|||||||
{
|
{
|
||||||
dump($request->all());
|
dump($request->all());
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
return view('paybox.refused');
|
return view('paybox.refused');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,18 +39,7 @@ class Article extends Model implements HasMedia
|
|||||||
|
|
||||||
protected $table = 'shop_articles';
|
protected $table = 'shop_articles';
|
||||||
|
|
||||||
protected $revisionEnabled = true;
|
protected $dontKeepRevisionOf = ['updated_by', 'updated_at'];
|
||||||
|
|
||||||
protected $keepRevisionOf = [
|
|
||||||
'article_nature_id',
|
|
||||||
'product_type',
|
|
||||||
'product_id',
|
|
||||||
'ref',
|
|
||||||
'name',
|
|
||||||
'description',
|
|
||||||
'visible',
|
|
||||||
'homepage',
|
|
||||||
];
|
|
||||||
|
|
||||||
public function article_nature(): BelongsTo
|
public function article_nature(): BelongsTo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ use App\Notifications\VerifyEmail;
|
|||||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
use Illuminate\Notifications\Notifiable;
|
use Illuminate\Notifications\Notifiable;
|
||||||
use Venturecraft\Revisionable\RevisionableTrait;
|
|
||||||
use Staudenmeir\EloquentHasManyDeep\HasRelationships;
|
use Staudenmeir\EloquentHasManyDeep\HasRelationships;
|
||||||
|
use Venturecraft\Revisionable\RevisionableTrait;
|
||||||
use Yadahan\AuthenticationLog\AuthenticationLogable;
|
use Yadahan\AuthenticationLog\AuthenticationLogable;
|
||||||
|
|
||||||
class Customer extends Authenticatable
|
class Customer extends Authenticatable
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class Invoice extends Model
|
|||||||
|
|
||||||
protected $revisionCreationsEnabled = false;
|
protected $revisionCreationsEnabled = false;
|
||||||
|
|
||||||
protected $keepRevisionOf = ['status', 'total_taxed', 'shipping', 'total_shipped'];
|
protected $dontKeepRevisionOf = ['updated_by', 'updated_at'];
|
||||||
|
|
||||||
public function payments()
|
public function payments()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
namespace App\Repositories\Shop;
|
namespace App\Repositories\Shop;
|
||||||
|
|
||||||
use App\Models\Shop\Delivery;
|
use App\Models\Shop\Delivery;
|
||||||
use App\Repositories\Shop\Customers;
|
|
||||||
use App\Traits\Model\Basic;
|
use App\Traits\Model\Basic;
|
||||||
|
|
||||||
class Deliveries
|
class Deliveries
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace App\Repositories\Shop;
|
namespace App\Repositories\Shop;
|
||||||
|
|
||||||
use Illuminate\Support\Facades\App;
|
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
use Bnb\PayboxGateway\Requests\Paybox\AuthorizationWithCapture;
|
use Bnb\PayboxGateway\Requests\Paybox\AuthorizationWithCapture;
|
||||||
use Bnb\PayboxGateway\Requests\PayboxDirect\Capture;
|
use Bnb\PayboxGateway\Requests\PayboxDirect\Capture;
|
||||||
use Bnb\PayboxGateway\Responses\Paybox\Verify;
|
|
||||||
use Bnb\PayboxGateway\Responses\Exceptions\InvalidSignature;
|
use Bnb\PayboxGateway\Responses\Exceptions\InvalidSignature;
|
||||||
|
use Bnb\PayboxGateway\Responses\Paybox\Verify;
|
||||||
|
use Illuminate\Support\Facades\App;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
class Paybox
|
class Paybox
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user