dev_mashfiq #9
|
@ -24,7 +24,7 @@ namespace HRM.DA
|
|||
{
|
||||
string sql = SQLParser.MakeSQL(
|
||||
"INSERT INTO ProductionBonusSetup(ProductionBonusSetupID, ProgramName, AchivedPercent, OTHour, SalaryMonth, DesignNo, FromDate, ToDate, MaxPerson, CreatedBy, CreationDate, Status)" +
|
||||
" VALUES(%n, %s, %n, %n, %d, %s, %d, %d, %n, %d, %n)", item.ID, item.ProgramName, item.AchivedPercent, item.OTHour,
|
||||
" VALUES(%n, %s, %n, %n, %d, %s, %d, %d, %n, %n, %d, %n)", item.ID, item.ProgramName, item.AchivedPercent, item.OTHour,
|
||||
item.SalaryMonth, item.DesignNo, item.FromDate, item.ToDate, item.MaxPerson, item.CreatedBy, item.CreatedDate,
|
||||
item.Status);
|
||||
tc.ExecuteNonQuery(sql);
|
||||
|
|
|
@ -13,7 +13,7 @@ export class ApiService {
|
|||
|
||||
public isSSO = false;
|
||||
public versionDeployement = false;
|
||||
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 7, 18))}-`+"01";
|
||||
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 9, 29))}-`+"01";
|
||||
public static BASE_URL = '';
|
||||
public base_url = '';
|
||||
// public currentLink = '';
|
||||
|
|
|
@ -498,6 +498,10 @@ export class ProductionBonusSetupComponent implements OnInit {
|
|||
onClickOk() {
|
||||
debugger;
|
||||
if (this.isNewLine) {
|
||||
if(this._departmentPicker.selectedID == undefined){
|
||||
this.notificationService.showWarning('Please Select a Line'); return;
|
||||
}
|
||||
this.prodBonusLine.lineName = this._departmentPicker.selectedObjects[0]['name'];
|
||||
this.productionBonusSetup.productionBonusLines.push(this.prodBonusLine); // for new
|
||||
this.notificationService.showSuccess('New Line added');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user