This commit is contained in:
zhouxin
2022-01-21 05:35:35 +00:00
parent 7cb49dd86b
commit 2d6115537f
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -480,6 +480,10 @@ class kanbanModel extends model
*/
public function batchCreateCard($kanbanID, $regionID, $groupID, $columnID)
{
foreach($_POST['name'] as $index => $value)
{
if($_POST['name'][$index] and isset($_POST['assignedTo'][$index])) $_POST['assignedTo'][$index] = implode(',', $_POST['assignedTo'][$index]);
}
$cards = fixer::input('post')->get();
$now = helper::now();
+1 -1
View File
@@ -39,7 +39,7 @@
<td class='text-center'><?php echo $i + 1;?></td>
<td class='text-center'><?php echo html::input("name[$i]", '', "class='form-control title-import'");?></td>
<td style='overflow:visible'><?php echo html::select("lane[$i]", $lanePairs, key($lanePairs), "class='form-control chosen'")?></td>
<td style='overflow:visible'><?php echo html::select("assignedTo[$i]", $users, $app->user->account, "class='form-control chosen'");?></td>
<td style='overflow:visible'><?php echo html::select("assignedTo[$i][]", $users, $app->user->account, "class='form-control chosen' multiple");?></td>
<td><?php echo html::input("estimate[$i]", '', "class='form-control text-center'");?></td>
<td>
<div class='input-group'>