temp #2
@@ -34,7 +34,7 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/bordro-robotu.exe
|
- go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/bordro-robotu.exe
|
||||||
vars:
|
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:
|
env:
|
||||||
GOOS: windows
|
GOOS: windows
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|||||||
BIN
app/build/icons.ico
Normal file
BIN
app/build/icons.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -29,13 +29,13 @@
|
|||||||
</template>
|
</template>
|
||||||
</q-select>
|
</q-select>
|
||||||
<!-- Debug Info -->
|
<!-- 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/>
|
Durum: {{ ld.errorMessage }} <br/>
|
||||||
Şirket Sayısı: {{ ld.companies.length }}
|
Şirket Sayısı: {{ ld.companies.length }}
|
||||||
<div v-for="(c, idx) in ld.companies" :key="idx">
|
<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) }}
|
#{{ idx }}: ID={{ c.Id }} (type: {{ typeof c.Id }}), Name={{ c.Name }} (type: {{ typeof c.Name }}), Raw: {{ JSON.stringify(c) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
@@ -142,7 +142,7 @@ const ld = reactive({
|
|||||||
errorMessage: '',
|
errorMessage: '',
|
||||||
xlsFile: '',
|
xlsFile: '',
|
||||||
logProcess: [],
|
logProcess: [],
|
||||||
year: 2024,
|
year: 2026,
|
||||||
month: 1,
|
month: 1,
|
||||||
right : true
|
right : true
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ func (l *Luca) PayrollPageLogin() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
err = ClickItem(frame3, "#apy1000m36i4ITX", 1)
|
err = ClickItem(frame3, "#apy1000m41i4ITX", 1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ type Srv struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Srv) Companies() ([]company.Company, error) {
|
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")
|
err := run.DB.Select(&res, "SELECT * FROM company order by 1")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error("Companies SELECT error", "error", err)
|
slog.Error("Companies SELECT error", "error", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user