League Creation
This commit is contained in:
parent
96101cb05d
commit
7c9d5eef1e
11 changed files with 160 additions and 46 deletions
|
|
@ -110,6 +110,8 @@ class User extends Authenticatable
|
|||
|
||||
public static function toDBDate($deDate)
|
||||
{
|
||||
if (!$deDate) return "";
|
||||
|
||||
$values = explode(" ", $deDate);
|
||||
|
||||
$year = explode(".",$values[0])[2];
|
||||
|
|
@ -181,7 +183,9 @@ class User extends Authenticatable
|
|||
|
||||
$payref = array();
|
||||
foreach($payments as $payment) {
|
||||
$payref[$payment->user_id]='ok';
|
||||
if ($payment->paid_date) {
|
||||
$payref[$payment->user_id] = 'ok';
|
||||
}
|
||||
}
|
||||
|
||||
$userlist=array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue