Fix pairgoth export
This commit is contained in:
7
TODO.md
Normal file
7
TODO.md
Normal file
@@ -0,0 +1,7 @@
|
||||
in macMahon export -> under country copy clubs.
|
||||
Edit in delete button in line
|
||||
make update person per person
|
||||
Remove update egd data
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,7 @@ $count = count($entries);
|
||||
foreach ($entries as $i => $e) {
|
||||
$rank = $e->rank - 30;
|
||||
$id = ($i + 1) * 2;
|
||||
$out = "{\"id\":$id,\"name\":\"$e->first_name\",\"firstname\":\"$e->last_name\",\"rating\":$e->rating,\"rank\":$rank,\"country\":\"$e->country\",\"club\":\"$e->club\",\"final\":false,\"egf\":\"$e->egd_number\"}";
|
||||
$out = "{\"id\":$id,\"name\":\"$e->last_name\",\"firstname\":\"$e->first_name\",\"rating\":$e->rating,\"rank\":$rank,\"country\":\"$e->country\",\"club\":\"$e->club\",\"final\":false,\"egf\":\"$e->egd_number\"}";
|
||||
if ($i + 1 < $count) {
|
||||
$out .= ",";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user