Payroll Robot Build Update

This commit is contained in:
Hüseyin
2026-07-22 09:05:29 +03:00
parent 96f18797f8
commit 6d9125234c
5 changed files with 9 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ tasks:
cmds:
- go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/bordro-robotu.exe
vars:
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -ldflags="-w -s -H windowsgui"{{else}}-gcflags=all="-N -l"{{end}}'
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -ldflags="-w -s -H windowsgui"{{else}}{{end}}'
env:
GOOS: windows
CGO_ENABLED: 0

BIN
app/build/icons.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -29,13 +29,13 @@
</template>
</q-select>
<!-- Debug Info -->
<div class="q-mt-sm q-pa-sm bg-grey-2 text-black text-caption" style="border: 1px dashed gray;">
<!-- <div class="q-mt-sm q-pa-sm bg-grey-2 text-black text-caption" style="border: 1px dashed gray;">
Durum: {{ ld.errorMessage }} <br/>
Şirket Sayısı: {{ ld.companies.length }}
<div v-for="(c, idx) in ld.companies" :key="idx">
#{{ idx }}: ID={{ c.Id }} (type: {{ typeof c.Id }}), Name={{ c.Name }} (type: {{ typeof c.Name }}), Raw: {{ JSON.stringify(c) }}
</div>
</div>
</div> -->
</div>
</div>
</q-card-section>
@@ -48,8 +48,8 @@
no-caps
color="secondary"
/>
<q-checkbox
label="Tarayıcı Görünmesin"
<q-checkbox
label="Tarayıcı Görünmesin"
v-model="ld.right"
style="font-size : 15px"
/>
@@ -142,7 +142,7 @@ const ld = reactive({
errorMessage: '',
xlsFile: '',
logProcess: [],
year: 2024,
year: 2026,
month: 1,
right : true
})

View File

@@ -444,7 +444,7 @@ func (l *Luca) PayrollPageLogin() error {
return err
}
fmt.Println(err)
err = ClickItem(frame3, "#apy1000m36i4ITX", 1)
err = ClickItem(frame3, "#apy1000m41i4ITX", 1)
if err != nil {
return err
}

View File

@@ -17,7 +17,8 @@ type Srv struct {
}
func (s *Srv) Companies() ([]company.Company, error) {
var res []company.Company
slog.Info("Companies method called from JS")
res := make([]company.Company, 0)
err := run.DB.Select(&res, "SELECT * FROM company order by 1")
if err != nil {
slog.Error("Companies SELECT error", "error", err)