管理人員。 原本是 'B' $sql = "select accountid, name from account where accounttype = 'B' and accountid not in ('B000000001', 'M0008') order by accountid"; $res = mysqli_query($link, $sql); while ($row = mysqli_fetch_row($res)) { $repairer_arr[$row[0]] = $row[1]; } mysqli_free_result($res); // 備品項目 $item_arr = []; $sql = "select * from supplies where ver = '20231103'"; $res = mysqli_query($link, $sql); while ($row = mysqli_fetch_assoc($res)) { $item_arr[$row["id"]]["title"] = $row["title"]; $item_arr[$row["id"]]["stype"] = $row["stype"]; $item_arr[$row["id"]]["unit"] = $row["unit"]; $item_arr[$row["id"]]["price"] = $row["price"]; $item_arr[$row["id"]]["memo"] = $row["memo"]; } mysqli_free_result($res); $item_str = ''; $item_str .= ''; foreach ($item_arr as $k => $v) { $item_str .= ""; $item_str .= ""; $item_str .= ""; $item_str .= ""; $item_str .= ""; $item_str .= ""; $item_str .= ""; $item_str .= ""; } $item_str .= "
序號 名稱 類別 單位 售價 備註
".$k."".$v["title"]."".$v["stype"]."".$v["unit"]."".number_format($v["price"])."".$v["memo"]."
"; /* #獲取簽核意見 $assign_opinions = Assign::get_records($form_key); $assigner = $wf->getAssignerList(); $assign_status = $wf->getAssignStatus($assigner); */ $assign_status = '' ?>
Please fill up the required field!

"; } else { echo "

Record has added successfully

"; } } */ ?>
" enctype="multipart/form-data">




新增備品 *
名稱 數量 單價 合計 備註 操作
點選 X
營業稅
總價
簽核操作*
簽核狀態 下位簽核者