wip
This commit is contained in:
1 parent
d793f0b844
commit
326451aa7f
1 file changed
+4
-5
@@ -423,9 +423,9 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
foreach ($this->calculationVariables as $row) {
|
||||
if ($copystring == '') {
|
||||
$keys = array_keys($row);
|
||||
$copystring .= implode("\t", $keys)."\n";
|
||||
$copystring .= implode(";", $keys) . "\n";
|
||||
}
|
||||
$copystring .= implode("\t", $row)."\n";
|
||||
$copystring .= implode(";", $row) . "\n";
|
||||
}
|
||||
$this->js("navigator.clipboard.writeText(`$copystring`)");
|
||||
|
||||
@@ -441,7 +441,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
return;
|
||||
}
|
||||
$header = ['name', 'foot', 'events', 'average min', 'position', 'on field', 'gls', 'fls', 'ofs', 'snt', 'tsh', 'crd'];
|
||||
$copystring = implode("\t", $header)."\n";
|
||||
$copystring = implode(";", $header) . "\n";
|
||||
foreach ($this->sourceRecords as $row) {
|
||||
$tmp = [];
|
||||
$tmp[] = $row['name'];
|
||||
@@ -461,7 +461,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
$tmp[] = $row['tsh'];
|
||||
$tmp[] = $row['crd'];
|
||||
|
||||
$copystring .= implode("\t", $tmp)."\n";
|
||||
$copystring .= implode(",", $tmp) . "\n";
|
||||
}
|
||||
$this->js("navigator.clipboard.writeText(`$copystring`)");
|
||||
|
||||
@@ -611,7 +611,6 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
$asp_gioco = $val->shots_on_target / $somma_minuti * 90;
|
||||
$tmp['asp_teorica_shots_on_target'] = ($this->x_value * $asp_gioco + $asp_statistica) / (1 + $this->x_value);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user