mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-11 07:08:42 +00:00
image optimization and test fixes
This commit is contained in:
parent
1c6caf5531
commit
d58a059a47
32
.github/workflows/image.yml
vendored
32
.github/workflows/image.yml
vendored
|
|
@ -1,24 +1,10 @@
|
|||
name: Compress images
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.jpg'
|
||||
- '**.png'
|
||||
- '**.webp'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.jpg'
|
||||
- '**.png'
|
||||
- '**.webp'
|
||||
jobs:
|
||||
build:
|
||||
name: calibreapp/image-actions
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@main
|
||||
name: Image optimization
|
||||
|
||||
- name: Compress Images
|
||||
uses: calibreapp/image-actions@main
|
||||
with:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
general_image_workflow:
|
||||
uses: Karaka-Management/Karaka/.github/workflows/image.yml@develop
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ final class PurchaseBillMapper extends BillMapper
|
|||
public static function getLastOrderDateByItemId(int $id) : ?\DateTimeImmutable
|
||||
{
|
||||
// @todo: only delivers/invoice/production (no offers ...)
|
||||
$query = new Builder(self::$db);
|
||||
$query = new Builder(self::$db);
|
||||
|
||||
/** @var false|array $result */
|
||||
$result = $query->select('billing_bill_performance_date')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user