omar733 / company-time-sheet

Automatically exported from code.google.com/p/company-time-sheet
0 stars 0 forks source link

Manual db back up form for time sheet #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ISSUE 8 implements this task.

1.Create a form for taking back up of db,
2.user can select month n year in a date time picker r date box n click the 
submit button it ll take backup of selected month n year.
3.Automatic trigger ll take current month backup.

Original issue reported on code.google.com by DHANDAPA...@ssomens.com on 29 Dec 2012 at 8:22

GoogleCodeExporter commented 9 years ago
Completed taking backup on selected month.
script name: TIME SHEET TRIGGER_DUMP VER1.0 in rental form site.

Original comment by KUMA...@ssomens.com on 30 Dec 2012 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by DHANDAPA...@ssomens.com on 31 Dec 2012 at 12:26

GoogleCodeExporter commented 9 years ago
add coding in  the manual backup to work in side the menu.
 var app = UiApp.getActiveApplication();
  var formGrid=app.getElementById('formGrid');
  var bodyGrid=app.getElementById('bodyGrid');
  var contentGrid=app.getElementById('contentGrid');
  var mainMenuGrid = app.getElementById('mainMenuGrid').clear();
  var leftGrid=app.getElementById('leftGrid');
  var appTitle1 = app.createLabel(' USER RIGHTS').setStyleAttribute('font-size','25px').setStyleAttribute('color', 'darkblue');
  var mainGrid = app.getElementById('mainGrid');//.clear();
  var mainMenuPanel = app.createVerticalPanel().setId('mainMenuPanel');
  var headerGrid=app.getElementById('headerGrid');
//---------

ur doget coding

//-----------
 mainGrid
  .setWidget(4,0,mainMenuPanel);
  contentGrid.setWidget(0,0,mainGrid);
  bodyGrid.setWidget(0,0,leftGrid).setWidget(0,1,contentGrid);
  formGrid
  .setWidget(1,0,headerGrid)
  .setWidget(2,0,bodyGrid);
  app.add(formGrid);
  return app;
}

Original comment by DHANDAPA...@ssomens.com on 31 Dec 2012 at 12:30

GoogleCodeExporter commented 9 years ago
added given code time sheet manual backup.
TIME SHEET TRIGGER_DUMP VER2.0

Original comment by KUMA...@ssomens.com on 31 Dec 2012 at 12:48

GoogleCodeExporter commented 9 years ago
Tested in the separate project, 
the script ll not backup last day of month.

Correct this issue
The below link have the TS back up
https://docs.google.com/a/ssomens.com/spreadsheet/ccc?key=0Avf0d7mdbV_UdFpZMlFZR
jNDQmJpUTZTMGdfN29zN3c#gid=8

Original comment by DHANDAPA...@ssomens.com on 2 Jan 2013 at 5:31

GoogleCodeExporter commented 9 years ago
corrected time sheet issue.
scrpit name:TIME SHEET TRIGGER_DUMP VER2.0

Original comment by KUMA...@ssomens.com on 2 Jan 2013 at 5:51