2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

マネーフォワードの勤怠管理を一括で入力するブックマークレット

Last updated at Posted at 2019-04-26

※ 使用は自己責任でお願いします。

例えば平日の10:00-19:00に出勤した場合に使えます。

デモ

out.gif

使い方

以下のコードをブックマークレットとして登録し、 勤怠管理ページ で実行すれば使用可能です。

bookmarklet
javascript: $('#js-multiple-timesheet-employee-daily-records-table tbody tr').each(function(i, el) {
  if (!$(el).text().match('休日')) {
    $(el).find('.pa-btn-dec-add').trigger('click');
    $('#js-multiple-timesheet-employee-daily-records-table tbody tr .box-attendance-time .input-times').each(function(i, el) {
      if (i % 2 == 0) {
        $(el).val('10:00');
      } else {
        $(el).val('19:00');
      }
    });
  }
});
console.log('done');
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?