add goyum hasaby

This commit is contained in:
2025-03-13 07:25:55 +05:00
parent 8bde60fc8d
commit b5a9cfe7f5
4 changed files with 106 additions and 2 deletions

View File

@@ -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
)
);