add goyum hasaby
This commit is contained in:
@@ -14,6 +14,16 @@ class VisaMasterMonthlyPaidFilter extends Filter
|
||||
*/
|
||||
public $component = 'select-filter';
|
||||
|
||||
/**
|
||||
* Filter payments
|
||||
*
|
||||
* @param string $table
|
||||
*/
|
||||
public function __construct(public string $table = 'visa_master_payment_orders') {}
|
||||
|
||||
/**
|
||||
* Name
|
||||
*/
|
||||
public function name(): string
|
||||
{
|
||||
return __('Aý tölegi');
|
||||
@@ -35,9 +45,10 @@ class VisaMasterMonthlyPaidFilter extends Filter
|
||||
|
||||
return $query->selectRaw(
|
||||
sprintf('
|
||||
visa_master_payment_orders.*,
|
||||
%s.*,
|
||||
%s as filter_month
|
||||
',
|
||||
$this->table,
|
||||
$value
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user