Changeset 3466277
- Timestamp:
- 02/21/2026 07:18:32 AM (6 weeks ago)
- Location:
- kpir
- Files:
-
- 192 added
- 17 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/assets (added)
-
tags/1.1.3/assets/externals (added)
-
tags/1.1.3/assets/externals/datepicker (added)
-
tags/1.1.3/assets/externals/datepicker/css (added)
-
tags/1.1.3/assets/externals/datepicker/css/images (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_444444_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_555555_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_777620_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_777777_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_cc0000_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/images/ui-icons_ffffff_256x240.png (added)
-
tags/1.1.3/assets/externals/datepicker/css/jquery-ui-datepicker.css (added)
-
tags/1.1.3/assets/externals/select2 (added)
-
tags/1.1.3/assets/externals/select2/css (added)
-
tags/1.1.3/assets/externals/select2/css/select2.min.css (added)
-
tags/1.1.3/assets/externals/select2/js (added)
-
tags/1.1.3/assets/externals/select2/js/i18n (added)
-
tags/1.1.3/assets/externals/select2/js/i18n/pl.js (added)
-
tags/1.1.3/assets/externals/select2/js/select2.full.min.js (added)
-
tags/1.1.3/assets/scripts (added)
-
tags/1.1.3/assets/scripts/admin (added)
-
tags/1.1.3/assets/scripts/admin/kpir.js (added)
-
tags/1.1.3/assets/scripts/admin/kpir.min.js (added)
-
tags/1.1.3/assets/scripts/admin/src (added)
-
tags/1.1.3/assets/scripts/admin/src/datepicker.js (added)
-
tags/1.1.3/assets/scripts/admin/src/invoice.js (added)
-
tags/1.1.3/assets/scripts/admin/src/jpk.js (added)
-
tags/1.1.3/assets/scripts/admin/src/select2.js (added)
-
tags/1.1.3/assets/styles (added)
-
tags/1.1.3/assets/styles/admin (added)
-
tags/1.1.3/assets/styles/admin/post-type-invoice.css (added)
-
tags/1.1.3/assets/styles/admin/reports.css (added)
-
tags/1.1.3/assets/styles/admin/wordpress-admin-dashboard.css (added)
-
tags/1.1.3/assets/styles/kpir-admin.css (added)
-
tags/1.1.3/assets/styles/kpir-admin.min.css (added)
-
tags/1.1.3/assets/styles/kpir-frontend.css (added)
-
tags/1.1.3/assets/styles/kpir-frontend.min.css (added)
-
tags/1.1.3/assets/styles/post-type-invoice.min.css (added)
-
tags/1.1.3/assets/styles/reports.min.css (added)
-
tags/1.1.3/assets/styles/src (added)
-
tags/1.1.3/assets/styles/src/admin (added)
-
tags/1.1.3/assets/styles/src/admin/post-type-invoice.scss (added)
-
tags/1.1.3/assets/styles/src/admin/reports.scss (added)
-
tags/1.1.3/assets/styles/src/admin/wordpress-admin-dashboard.scss (added)
-
tags/1.1.3/assets/styles/wordpress-admin-dashboard.min.css (added)
-
tags/1.1.3/etc (added)
-
tags/1.1.3/etc/options.php (added)
-
tags/1.1.3/includes (added)
-
tags/1.1.3/includes/index.php (added)
-
tags/1.1.3/includes/iworks (added)
-
tags/1.1.3/includes/iworks.php (added)
-
tags/1.1.3/includes/iworks/class-kpir.php (added)
-
tags/1.1.3/includes/iworks/index.php (added)
-
tags/1.1.3/includes/iworks/kpir (added)
-
tags/1.1.3/includes/iworks/kpir/index.php (added)
-
tags/1.1.3/includes/iworks/kpir/jpk (added)
-
tags/1.1.3/includes/iworks/kpir/jpk.php (added)
-
tags/1.1.3/includes/iworks/kpir/jpk/index.php (added)
-
tags/1.1.3/includes/iworks/kpir/jpk/v7m.php (added)
-
tags/1.1.3/includes/iworks/kpir/jpk/vat_3.php (added)
-
tags/1.1.3/includes/iworks/kpir/posttypes (added)
-
tags/1.1.3/includes/iworks/kpir/posttypes.php (added)
-
tags/1.1.3/includes/iworks/kpir/posttypes/contractor.php (added)
-
tags/1.1.3/includes/iworks/kpir/posttypes/index.php (added)
-
tags/1.1.3/includes/iworks/kpir/posttypes/invoice.php (added)
-
tags/1.1.3/includes/iworks/kpir/reports (added)
-
tags/1.1.3/includes/iworks/kpir/reports/annually.php (added)
-
tags/1.1.3/includes/iworks/kpir/reports/index.php (added)
-
tags/1.1.3/includes/iworks/kpir/reports/monthly.php (added)
-
tags/1.1.3/includes/iworks/options (added)
-
tags/1.1.3/includes/iworks/options/assets (added)
-
tags/1.1.3/includes/iworks/options/assets/index.php (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/common.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/af.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ar.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/az.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/bg.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/bn.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/bs.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ca.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/cs.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/da.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/de.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/dsb.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/el.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/en.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/es.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/et.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/eu.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/fa.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/fi.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/fr.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/gl.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/he.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/hi.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/hr.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/hsb.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/hu.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/hy.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/id.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/index.php (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/is.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/it.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ja.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ka.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/km.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ko.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/lt.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/lv.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/mk.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ms.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/nb.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ne.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/nl.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/pl.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ps.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/pt-BR.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/pt.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ro.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/ru.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sk.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sl.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sq.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sr-Cyrl.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sr.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/sv.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/th.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/tk.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/tr.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/uk.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/vi.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/zh-CN.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/i18n/zh-TW.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/index.php (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/jquery.switch_button.js (added)
-
tags/1.1.3/includes/iworks/options/assets/scripts/select2.min.js (added)
-
tags/1.1.3/includes/iworks/options/assets/styles (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/index.php (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_444444_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_555555_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_777620_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_777777_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_cc0000_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/images/ui-icons_ffffff_256x240.png (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/index.php (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/jquery-ui.min.css (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/jquery-ui.theme.min.css (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/jquery.switch_button.css (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/options-admin.css (added)
-
tags/1.1.3/includes/iworks/options/assets/styles/select2.min.css (added)
-
tags/1.1.3/includes/iworks/options/index.php (added)
-
tags/1.1.3/includes/iworks/options/options.php (added)
-
tags/1.1.3/index.php (added)
-
tags/1.1.3/kpir.php (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/kpir.pot (added)
-
tags/1.1.3/readme.txt (added)
-
tags/1.1.3/template-parts (added)
-
tags/1.1.3/template-parts/jpk (added)
-
tags/1.1.3/template-parts/jpk/no-entries.php (added)
-
tags/1.1.3/template-parts/jpk/v7m (added)
-
tags/1.1.3/template-parts/jpk/v7m-2 (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/show.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/company.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/expense.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/expenses-summary.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/footer.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/head.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/header.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/income.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/incomes-empty.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/incomes-summary.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/person.php (added)
-
tags/1.1.3/template-parts/jpk/v7m-2/xml/summary.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/show.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/company.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/expense.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/expenses-summary.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/footer.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/head.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/header.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/income.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/incomes-empty.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/incomes-summary.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/person.php (added)
-
tags/1.1.3/template-parts/jpk/v7m/xml/summary.php (added)
-
trunk/assets/scripts/admin/kpir.js (modified) (1 diff)
-
trunk/includes/iworks.php (modified) (1 diff)
-
trunk/includes/iworks/class-kpir.php (modified) (2 diffs)
-
trunk/includes/iworks/kpir/jpk.php (modified) (1 diff)
-
trunk/includes/iworks/kpir/jpk/v7m.php (modified) (1 diff)
-
trunk/includes/iworks/kpir/jpk/vat_3.php (modified) (2 diffs)
-
trunk/includes/iworks/kpir/posttypes.php (modified) (1 diff)
-
trunk/includes/iworks/kpir/posttypes/contractor.php (modified) (1 diff)
-
trunk/includes/iworks/kpir/posttypes/invoice.php (modified) (15 diffs)
-
trunk/includes/iworks/kpir/reports/annually.php (modified) (1 diff)
-
trunk/includes/iworks/kpir/reports/monthly.php (modified) (1 diff)
-
trunk/includes/iworks/options/options.php (modified) (9 diffs)
-
trunk/kpir.php (modified) (3 diffs)
-
trunk/languages/kpir.pot (modified) (14 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/template-parts/jpk/v7m-2/xml/head.php (modified) (1 diff)
-
trunk/template-parts/jpk/v7m/xml/head.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kpir/trunk/assets/scripts/admin/kpir.js
r3317373 r3466277 1 /*! Księga Przychodi i Rozchodu - v1.1. 21 /*! Księga Przychodi i Rozchodu - v1.1. 2 2 * http://iworks.pl/ 3 * Copyright (c) 202 53 * Copyright (c) 202 4 4 * Licensed GPL-3.0 5 5 */ -
kpir/trunk/includes/iworks.php
r3290322 r3466277 1 1 <?php 2 2 /* 3 Copyright 2016-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2016-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/class-kpir.php
r3317373 r3466277 61 61 * @var string 62 62 */ 63 protected $version = '1.1. 2';63 protected $version = '1.1.'; 64 64 65 65 /** … … 87 87 public function __construct() { 88 88 parent::__construct(); 89 $this->version = '1.1. 2';89 $this->version = '1.1.'; 90 90 $this->capability = apply_filters( 'iworks_kpir_capability', 'manage_options' ); 91 91 $this->base = dirname( __DIR__, 1 ); -
kpir/trunk/includes/iworks/kpir/jpk.php
r3244938 r3466277 1 1 <?php 2 2 /* 3 Copyright 2020-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2020-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/kpir/jpk/v7m.php
r3244938 r3466277 1 1 <?php 2 2 /* 3 Copyright 2020-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2020-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/kpir/jpk/vat_3.php
r3317373 r3466277 1 1 <?php 2 2 /* 3 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify … … 220 220 <tns:DataOd>%s</tns:DataOd> 221 221 <tns:DataDo>%s</tns:DataDo> 222 <tns:NazwaSystemu>KPiR 1.1. 2</tns:NazwaSystemu>222 <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu> 223 223 </tns:Naglowek>'; 224 224 $data .= PHP_EOL; -
kpir/trunk/includes/iworks/kpir/posttypes.php
r3317373 r3466277 1 1 <?php 2 2 /* 3 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/kpir/posttypes/contractor.php
r3315349 r3466277 1 1 <?php 2 2 /* 3 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/kpir/posttypes/invoice.php
r3315349 r3466277 16 16 17 17 /* 18 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)18 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 19 19 20 20 this program is free software; you can redistribute it and/or modify … … 119 119 } 120 120 121 122 123 124 125 126 127 128 121 129 public function filter_add_sortable_columns( $columns ) { 122 130 $columns['date_of_payment'] = $this->get_custom_field_date_of_cash_name(); … … 125 133 126 134 /** 127 * set filters 135 * Set up filters for the invoice post type. 136 * 137 * Adds default CSS classes to meta boxes for better styling. 128 138 * 129 139 * @since 1.1.0 140 141 130 142 */ 131 143 public function action_init_set_filters() { … … 143 155 144 156 /** 145 * set fields 157 * Set up custom fields for the invoice post type. 158 * 159 * Defines all the field configurations for different invoice types 160 * including basic data, income, expense, salary, asset, and insurance fields. 161 * 162 * @since 1.1.0 163 * 164 * @return void 146 165 */ 147 166 public function action_init_set_fields() { … … 364 383 } 365 384 /** 366 * Add default class to postbox, 385 * Add default CSS class to post meta boxes. 386 * 387 * Adds the 'iworks-type' class to meta boxes for consistent styling. 388 * 389 * @since 1.1.0 390 * 391 * @param array $classes Existing CSS classes for the meta box. 392 * @return array Modified CSS classes with 'iworks-type' added. 367 393 */ 368 394 public function add_defult_class_to_postbox( $classes ) { … … 371 397 } 372 398 399 400 401 402 403 404 405 406 407 408 373 409 public function register() { 374 410 $labels = array( … … 424 460 } 425 461 462 463 464 465 466 467 468 469 470 471 472 473 426 474 public function save_post_meta( $post_id, $post, $update ) { 427 475 $this->save_post_meta_fields( $post_id, $post, $update, $this->fields ); … … 429 477 430 478 /** 431 * Change "Enter title here" to "Enter invoice number" 432 * 433 * @since 1.0 479 * Change "Enter title here" placeholder text for invoice titles. 480 * 481 * Replaces the default title placeholder with "Enter invoice number" 482 * for better user experience in the invoice post type. 483 * 484 * @since 1.0.0 485 * 486 * @param string $title The default title placeholder text. 487 * @param WP_Post $post The current post object. 488 * @return string Modified placeholder text for invoices. 434 489 */ 435 490 public function enter_title_here( $title, $post ) { … … 440 495 } 441 496 497 498 499 500 501 502 503 504 505 506 507 442 508 public function register_meta_boxes( $post ) { 443 509 add_meta_box( 'basic', __( 'Basic Data', 'kpir' ), array( $this, 'basic' ), $this->post_type_name ); … … 449 515 } 450 516 517 518 519 520 521 522 523 524 451 525 public function basic( $post ) { 452 526 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 453 527 } 454 528 529 530 531 532 533 534 535 536 455 537 public function income( $post ) { 456 538 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 457 539 } 458 540 541 542 543 544 545 546 547 548 459 549 public function expense( $post ) { 460 550 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 461 551 } 462 552 553 554 555 556 557 558 559 560 463 561 public function salary( $post ) { 464 562 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 465 563 } 466 564 565 566 567 568 569 570 571 572 467 573 public function asset( $post ) { 468 574 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 469 575 } 470 576 577 578 579 580 581 582 583 584 471 585 public function insurance( $post ) { 472 586 $this->get_meta_box_content( $post, $this->fields, __FUNCTION__ ); 473 587 } 474 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 475 604 public function save_year_month_to_extra_field( $post_id, $option_name, $value, $key, $data ) { 476 605 if ( 'date' == $key ) { … … 484 613 } 485 614 615 616 617 618 619 620 621 622 486 623 public function close_meta_boxes( $classes ) { 487 624 $classes[] = 'closed'; … … 489 626 } 490 627 628 629 630 631 632 633 634 635 636 637 638 491 639 public function month_table( $month ) { 492 640 $args = array( … … 568 716 } 569 717 718 719 720 721 722 723 724 725 726 727 728 729 570 730 private function add_value( $post_id, $meta_name ) { 571 731 $value = 0; … … 573 733 if ( is_array( $v ) ) { 574 734 if ( isset( $v['integer'] ) ) { 575 $value += 100 * $v['integer'];735 $value += 100 * ; 576 736 } 577 737 if ( isset( $v['fractional'] ) ) { 578 $value += $v['fractional'];738 $value += ; 579 739 } 580 740 } … … 809 969 } 810 970 971 972 973 974 975 976 977 978 979 980 981 811 982 public function apply_filter_order_date_of_payment( $query ) { 812 983 if ( ! is_admin() ) { -
kpir/trunk/includes/iworks/kpir/reports/annually.php
r3290322 r3466277 1 1 <?php 2 2 /* 3 Copyright 2019-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2019-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/kpir/reports/monthly.php
r3244938 r3466277 1 1 <?php 2 2 /* 3 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)3 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 4 4 5 5 this program is free software; you can redistribute it and/or modify -
kpir/trunk/includes/iworks/options/options.php
r3315349 r3466277 2 2 /* 3 3 Class Name: iWorks Options 4 Class URI: http ://iworks.pl/4 Class URI: http 5 5 Description: Option class to manage options. 6 Version: 3.0. 76 Version: 3.0. 7 7 Author: Marcin Pietrzak 8 8 Author URI: http://iworks.pl/ … … 24 24 along with this program; if not, write to the Free Software 25 25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 27 26 */ 28 27 … … 75 74 */ 76 75 $this->notices = array(); 77 $this->version = '3.0. 7';76 $this->version = '3.0.'; 78 77 $this->option_group = 'index'; 79 78 $this->option_function_name = null; … … 1828 1827 * @since 1.0.0 1829 1828 * 1829 1830 1830 1831 * @param string $name The name. 1831 1832 * @param mixed $value The value. 1832 1833 * @param array $args The arguments. 1833 * @param string $type The type.1834 1834 * 1835 1835 * @return void 1836 1836 */ 1837 private function select( $name, $value = '', $args = array() , $type = 'text') {1837 private function select( $name, $value = '', $args = array() ) { 1838 1838 /** 1839 1839 * default value … … 1856 1856 $options[ $value['value'] ] = $value['label']; 1857 1857 } 1858 1859 1860 1858 1861 $value_to_check = is_array( $value ) && isset( $value['value'] ) ? $value['value'] : $value; 1859 $content = sprintf( 1860 '<select type="%s" name="%s" %s >', 1861 esc_attr( $type ), 1862 /** 1863 * is multiple? 1864 */ 1865 $multiple = false; 1866 if ( isset( $args['multiple'] ) && $args['multiple'] ) { 1867 $multiple = true; 1868 if ( ! is_array( $value_to_check ) ) { 1869 $value_to_check = array( $value_to_check ); 1870 } 1871 } 1872 $content = sprintf( 1873 '<select name="%s" %s>', 1862 1874 esc_attr( $name ), 1863 1875 $this->build_field_attributes( $args ) 1864 1876 ); 1865 1877 foreach ( $options as $val => $label ) { 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1866 1888 $content .= sprintf( 1867 '<option value="%s" %s>%s</option>',1889 '<option value="%s"%s>%s</option>', 1868 1890 esc_attr( $val ), 1869 selected( $val, $value_to_check, false ),1891 , 1870 1892 esc_html( $label ) 1871 1893 ); … … 1931 1953 1932 1954 /** 1933 * Checkbox HTML element.1955 * . 1934 1956 * 1935 1957 * @since 2.6.4 … … 1939 1961 * @param array $args The arguments. 1940 1962 * 1941 * @return string The checkbox.1942 */1943 private function checkbox( $name, $value = '', $args = array() ) {1944 if ( ! empty( $value ) ) {1945 $args['checked'] = 'checked';1946 }1947 return $this->input( $name, $value, $args, __FUNCTION__ );1948 }1949 1950 /**1951 * Switch button element (based on checkbox field).1952 *1953 * @since 2.6.41954 *1955 * @param string $name The name.1956 * @param mixed $value The value.1957 * @param array $args The arguments.1958 *1959 1963 * @return string The switch button. 1960 1964 */ 1961 1965 private function switch_button( $name, $value = '', $args = array() ) { 1962 1966 return $this->checkbox( $name, $value, $args ); 1963 }1964 1965 /**1966 * Text input element.1967 *1968 * @since 2.6.41969 *1970 * @param string $name The name.1971 * @param mixed $value The value.1972 * @param array $args The arguments.1973 *1974 * @return string The text input.1975 */1976 private function text( $name, $value = '', $args = array() ) {1977 return $this->input( $name, $value, $args, __FUNCTION__ );1978 }1979 1980 /**1981 * Number input element.1982 *1983 * @since 2.6.41984 *1985 * @param string $name The name.1986 * @param mixed $value The value.1987 * @param array $args The arguments.1988 *1989 * @return string The number input.1990 */1991 private function number( $name, $value = '', $args = array() ) {1992 return $this->input( $name, $value, $args, __FUNCTION__ );1993 }1994 1995 /**1996 * Button input element.1997 *1998 * @since 2.6.41999 *2000 * @param string $name The name.2001 * @param mixed $value The value.2002 * @param array $args The arguments.2003 *2004 * @return string The button input.2005 */2006 private function button( $name, $value = '', $args = array() ) {2007 return $this->input( $name, $value, $args, __FUNCTION__ );2008 }2009 2010 /**2011 * Submit input element.2012 *2013 * @since 2.6.42014 *2015 * @param string $name The name.2016 * @param mixed $value The value.2017 * @param array $args The arguments.2018 *2019 * @return string The submit input.2020 */2021 private function submit( $name, $value = '', $args = array() ) {2022 return $this->input( $name, $value, $args, __FUNCTION__ );2023 }2024 2025 /**2026 * Hidden input element.2027 *2028 * @since 2.6.42029 *2030 * @param string $name The name.2031 * @param mixed $value The value.2032 * @param array $args The arguments.2033 *2034 * @return string The hidden input.2035 */2036 private function hidden( $name, $value = '', $args = array() ) {2037 return $this->input( $name, $value, $args, __FUNCTION__ );2038 }2039 2040 /**2041 * Date input element.2042 *2043 * @since 2.6.42044 *2045 * @param string $name The name.2046 * @param mixed $value The value.2047 * @param array $args The arguments.2048 *2049 * @return string The date input.2050 */2051 private function date( $name, $value = '', $args = array() ) {2052 if ( ! isset( $args['class'] ) ) {2053 $args['class'] = array();2054 }2055 $args['class'][] = 'datepicker';2056 return $this->input( $name, $value, $args );2057 1967 } 2058 1968 … … 2103 2013 $value 2104 2014 ); 2105 }2106 2107 /**2108 * Radio input element.2109 *2110 * @since 2.6.42111 *2112 * @param string $name The name.2113 * @param mixed $value The value.2114 * @param array $args The arguments.2115 *2116 * @return string The radio input.2117 */2118 private function radio( $name, $value = '', $args = array() ) {2119 $radio = '';2120 $options = $args['options'];2121 unset( $args['options'] );2122 /**2123 * default value2124 */2125 if ( isset( $args['default'] ) && '' == $value ) {2126 $value = $args['default'];2127 }2128 $i = 0;2129 foreach ( $options as $option_value => $input ) {2130 $id = sprintf( '%s%d', $name, $i++ );2131 $radio .= sprintf(2132 '<li class="%s"><label for="%s"><input type="radio" name="%s" value="%s"%s id="%s"/> %s</label>',2133 esc_attr( sanitize_title( $value ) ),2134 esc_attr( $id ),2135 esc_attr( $name ),2136 esc_attr( $option_value ),2137 checked( $option_value, $value, false ),2138 esc_attr( $id ),2139 esc_html( is_string( $input ) ? $input : $input['label'] )2140 );2141 if ( isset( $input['description'] ) ) {2142 $radio .= '<br>';2143 $radio .= $this->description( '', '', array( 'description' => wp_kses_post( $input['description'] ) ) );2144 }2145 $radio .= '</li>';2146 }2147 if ( $radio ) {2148 $radio = sprintf( '<ul>%s</ul>', $radio );2149 }2150 return $radio;2151 2015 } 2152 2016 … … 2732 2596 return $this->pagehooks; 2733 2597 } 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2734 2855 } 2735 2856 -
kpir/trunk/kpir.php
r3264325 r3466277 4 4 Text Domain: kpir 5 5 Plugin URI: http://iworks.pl/ 6 Description: Podatkowa Księga Przychodu i Rozchodu6 Description: 7 7 Version: trunk 8 8 Author: Marcin Pietrzak … … 11 11 License URI: http://www.gnu.org/licenses/gpl-3.0.html 12 12 13 Copyright 2017-202 5Marcin Pietrzak (marcin@iworks.pl)13 Copyright 2017-202 Marcin Pietrzak (marcin@iworks.pl) 14 14 15 15 this program is free software; you can redistribute it and/or modify … … 33 33 define( 'IWORKS_KPIR_VERSION', 'trunk' ); 34 34 define( 'IWORKS_KPIR_PREFIX', 'iworks_kpir_' ); 35 $base = dirname( __FILE__ );35 $base = ; 36 36 $vendor = $base . '/includes'; 37 37 -
kpir/trunk/languages/kpir.pot
r3317373 r3466277 1 # Copyright (C) 202 5Marcin Pietrzak1 # Copyright (C) 202 Marcin Pietrzak 2 2 # This file is distributed under the GPLv3 or later. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: 1.1. 2\n"5 "Project-Id-Version: 1.1.\n" 6 6 "Report-Msgid-Bugs-To: http://iworks.pl\n" 7 "POT-Creation-Date: 202 5-06-25 06:24:58+00:00\n"7 "POT-Creation-Date: 2028+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 202 5-MO-DA HO:MI+ZONE\n"11 "PO-Revision-Date: 202-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: Marcin Pietrzak <marcin@iworks.pl>\n" 13 13 "Language-Team: iWorks <support@iworks.pl>\n" … … 195 195 196 196 #: includes/iworks/kpir/posttypes/contractor.php:70 197 #: includes/iworks/options/options.php:2 257197 #: includes/iworks/options/options.php:2 198 198 msgid "City" 199 199 msgstr "" 200 200 201 201 #: includes/iworks/kpir/posttypes/contractor.php:73 202 #: includes/iworks/options/options.php:2 256202 #: includes/iworks/options/options.php:2 203 203 msgid "Country" 204 204 msgstr "" … … 257 257 #: includes/iworks/kpir/posttypes/contractor.php:111 258 258 #: includes/iworks/kpir/posttypes/contractor.php:137 259 #: includes/iworks/kpir/posttypes/invoice.php: 181260 #: includes/iworks/kpir/posttypes/invoice.php: 683259 #: includes/iworks/kpir/posttypes/invoice.php: 260 #: includes/iworks/kpir/posttypes/invoice.php:3 261 261 msgid "Contractor" 262 262 msgstr "" … … 279 279 280 280 #: includes/iworks/kpir/posttypes/contractor.php:117 281 #: includes/iworks/kpir/posttypes/invoice.php: 384281 #: includes/iworks/kpir/posttypes/invoice.php: 282 282 msgid "Add New" 283 283 msgstr "" … … 308 308 309 309 #: includes/iworks/kpir/posttypes/contractor.php:124 310 #: includes/iworks/kpir/posttypes/invoice.php: 391310 #: includes/iworks/kpir/posttypes/invoice.php: 311 311 msgid "Not found" 312 312 msgstr "" 313 313 314 314 #: includes/iworks/kpir/posttypes/contractor.php:125 315 #: includes/iworks/kpir/posttypes/invoice.php: 392315 #: includes/iworks/kpir/posttypes/invoice.php: 316 316 msgid "Not found in Trash" 317 317 msgstr "" 318 318 319 319 #: includes/iworks/kpir/posttypes/contractor.php:126 320 #: includes/iworks/kpir/posttypes/invoice.php: 393320 #: includes/iworks/kpir/posttypes/invoice.php: 321 321 msgid "Featured Image" 322 322 msgstr "" 323 323 324 324 #: includes/iworks/kpir/posttypes/contractor.php:127 325 #: includes/iworks/kpir/posttypes/invoice.php: 394325 #: includes/iworks/kpir/posttypes/invoice.php: 326 326 msgid "Set featured image" 327 327 msgstr "" 328 328 329 329 #: includes/iworks/kpir/posttypes/contractor.php:128 330 #: includes/iworks/kpir/posttypes/invoice.php: 395330 #: includes/iworks/kpir/posttypes/invoice.php: 331 331 msgid "Remove featured image" 332 332 msgstr "" 333 333 334 334 #: includes/iworks/kpir/posttypes/contractor.php:129 335 #: includes/iworks/kpir/posttypes/invoice.php: 396335 #: includes/iworks/kpir/posttypes/invoice.php: 336 336 msgid "Use as featured image" 337 337 msgstr "" … … 373 373 msgstr "" 374 374 375 #: includes/iworks/kpir/posttypes/invoice.php:1 57375 #: includes/iworks/kpir/posttypes/invoice.php:1 376 376 msgid "Date of issue" 377 377 msgstr "" 378 378 379 #: includes/iworks/kpir/posttypes/invoice.php:1 61379 #: includes/iworks/kpir/posttypes/invoice.php:1 380 380 msgid "Copy to event date" 381 381 msgstr "" 382 382 383 #: includes/iworks/kpir/posttypes/invoice.php:1 66383 #: includes/iworks/kpir/posttypes/invoice.php:1 384 384 msgid "Event date" 385 385 msgstr "" 386 386 387 #: includes/iworks/kpir/posttypes/invoice.php:1 74387 #: includes/iworks/kpir/posttypes/invoice.php:1 388 388 msgid "Cash-in Date" 389 389 msgstr "" 390 390 391 #: includes/iworks/kpir/posttypes/invoice.php: 188391 #: includes/iworks/kpir/posttypes/invoice.php: 392 392 msgid "Invoice description" 393 393 msgstr "" 394 394 395 #: includes/iworks/kpir/posttypes/invoice.php: 195396 #: includes/iworks/kpir/posttypes/invoice.php: 691395 #: includes/iworks/kpir/posttypes/invoice.php: 396 #: includes/iworks/kpir/posttypes/invoice.php:1 397 397 msgid "Income" 398 398 msgstr "" 399 399 400 #: includes/iworks/kpir/posttypes/invoice.php: 198401 #: includes/iworks/kpir/posttypes/invoice.php: 690400 #: includes/iworks/kpir/posttypes/invoice.php: 401 #: includes/iworks/kpir/posttypes/invoice.php:0 402 402 msgid "Expense" 403 403 msgstr "" 404 404 405 #: includes/iworks/kpir/posttypes/invoice.php:2 01405 #: includes/iworks/kpir/posttypes/invoice.php:2 406 406 msgid "Salary" 407 407 msgstr "" 408 408 409 #: includes/iworks/kpir/posttypes/invoice.php:2 04409 #: includes/iworks/kpir/posttypes/invoice.php:2 410 410 msgid "Asset" 411 411 msgstr "" 412 412 413 #: includes/iworks/kpir/posttypes/invoice.php:2 07413 #: includes/iworks/kpir/posttypes/invoice.php:2 414 414 msgid "Insurance" 415 415 msgstr "" 416 416 417 #: includes/iworks/kpir/posttypes/invoice.php:2 12417 #: includes/iworks/kpir/posttypes/invoice.php:2 418 418 msgid "Type" 419 419 msgstr "" 420 420 421 #: includes/iworks/kpir/posttypes/invoice.php:2 19422 #: includes/iworks/kpir/posttypes/invoice.php:2 57421 #: includes/iworks/kpir/posttypes/invoice.php:2 422 #: includes/iworks/kpir/posttypes/invoice.php:2 423 423 msgid "Please first choose invoice type." 424 424 msgstr "" 425 425 426 #: includes/iworks/kpir/posttypes/invoice.php:2 25426 #: includes/iworks/kpir/posttypes/invoice.php:2 427 427 msgid "Value of goods and services sold" 428 428 msgstr "" 429 429 430 #: includes/iworks/kpir/posttypes/invoice.php:2 29430 #: includes/iworks/kpir/posttypes/invoice.php:2 431 431 msgid "Other income" 432 432 msgstr "" 433 433 434 #: includes/iworks/kpir/posttypes/invoice.php:2 33435 #: includes/iworks/kpir/posttypes/invoice.php:2 75434 #: includes/iworks/kpir/posttypes/invoice.php:2 435 #: includes/iworks/kpir/posttypes/invoice.php:2 436 436 msgid "VAT" 437 437 msgstr "" 438 438 439 #: includes/iworks/kpir/posttypes/invoice.php:2 40439 #: includes/iworks/kpir/posttypes/invoice.php:2 440 440 msgid "" 441 441 "Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz " … … 443 443 msgstr "" 444 444 445 #: includes/iworks/kpir/posttypes/invoice.php:2 43445 #: includes/iworks/kpir/posttypes/invoice.php:2 446 446 msgid "" 447 447 "Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz " … … 449 449 msgstr "" 450 450 451 #: includes/iworks/kpir/posttypes/invoice.php:2 46451 #: includes/iworks/kpir/posttypes/invoice.php:2 452 452 msgid "" 453 453 "Wysokość podstawy opodatkowania wynikająca z dostawy towarów oraz " … … 456 456 msgstr "" 457 457 458 #: includes/iworks/kpir/posttypes/invoice.php:2 63458 #: includes/iworks/kpir/posttypes/invoice.php:2 459 459 msgid "" 460 460 "The purchase of commercial goods and materials, according to the purchase " … … 462 462 msgstr "" 463 463 464 #: includes/iworks/kpir/posttypes/invoice.php:2 67464 #: includes/iworks/kpir/posttypes/invoice.php:2 465 465 msgid "Incidental costs of purchase" 466 466 msgstr "" 467 467 468 #: includes/iworks/kpir/posttypes/invoice.php:2 71468 #: includes/iworks/kpir/posttypes/invoice.php:2 469 469 msgid "Other expenses" 470 470 msgstr "" 471 471 472 #: includes/iworks/kpir/posttypes/invoice.php:2 79472 #: includes/iworks/kpir/posttypes/invoice.php:2 473 473 msgid "VAT rate" 474 474 msgstr "" 475 475 476 #: includes/iworks/kpir/posttypes/invoice.php: 284476 #: includes/iworks/kpir/posttypes/invoice.php: 477 477 msgid "Base 23%" 478 478 msgstr "" 479 479 480 #: includes/iworks/kpir/posttypes/invoice.php: 287480 #: includes/iworks/kpir/posttypes/invoice.php: 481 481 msgid "8%" 482 482 msgstr "" 483 483 484 #: includes/iworks/kpir/posttypes/invoice.php: 290484 #: includes/iworks/kpir/posttypes/invoice.php: 485 485 msgid "5%" 486 486 msgstr "" 487 487 488 #: includes/iworks/kpir/posttypes/invoice.php: 293488 #: includes/iworks/kpir/posttypes/invoice.php: 489 489 msgid "0%" 490 490 msgstr "" 491 491 492 #: includes/iworks/kpir/posttypes/invoice.php: 296492 #: includes/iworks/kpir/posttypes/invoice.php: 493 493 msgid "No VAT" 494 494 msgstr "" 495 495 496 #: includes/iworks/kpir/posttypes/invoice.php:3 04496 #: includes/iworks/kpir/posttypes/invoice.php:3 497 497 msgid "Car related" 498 498 msgstr "" 499 499 500 #: includes/iworks/kpir/posttypes/invoice.php:3 05500 #: includes/iworks/kpir/posttypes/invoice.php:3 501 501 msgid "It will be calculated as half VAT return." 502 502 msgstr "" 503 503 504 #: includes/iworks/kpir/posttypes/invoice.php:3 10504 #: includes/iworks/kpir/posttypes/invoice.php:3 505 505 msgid "100%" 506 506 msgstr "" 507 507 508 #: includes/iworks/kpir/posttypes/invoice.php:3 13508 #: includes/iworks/kpir/posttypes/invoice.php:3 509 509 msgid "75%" 510 510 msgstr "" 511 511 512 #: includes/iworks/kpir/posttypes/invoice.php:3 16512 #: includes/iworks/kpir/posttypes/invoice.php:3 513 513 msgid "20%" 514 514 msgstr "" 515 515 516 #: includes/iworks/kpir/posttypes/invoice.php:3 19516 #: includes/iworks/kpir/posttypes/invoice.php:3 517 517 msgid "Yes (before 2019)" 518 518 msgstr "" 519 519 520 #: includes/iworks/kpir/posttypes/invoice.php:3 22520 #: includes/iworks/kpir/posttypes/invoice.php:3 521 521 msgid "No" 522 522 msgstr "" 523 523 524 #: includes/iworks/kpir/posttypes/invoice.php:3 32524 #: includes/iworks/kpir/posttypes/invoice.php:3 525 525 msgid "Salary in cash and in kind" 526 526 msgstr "" 527 527 528 #: includes/iworks/kpir/posttypes/invoice.php:3 38528 #: includes/iworks/kpir/posttypes/invoice.php:3 529 529 msgid "Depreciation of asset" 530 530 msgstr "" 531 531 532 #: includes/iworks/kpir/posttypes/invoice.php:3 44532 #: includes/iworks/kpir/posttypes/invoice.php:3 533 533 msgid "ZUS 51" 534 534 msgstr "" 535 535 536 #: includes/iworks/kpir/posttypes/invoice.php:3 48536 #: includes/iworks/kpir/posttypes/invoice.php:3 537 537 msgid "ZUS 52" 538 538 msgstr "" 539 539 540 #: includes/iworks/kpir/posttypes/invoice.php:3 52540 #: includes/iworks/kpir/posttypes/invoice.php:3 541 541 msgid "ZUS 53" 542 542 msgstr "" … … 546 546 msgstr "" 547 547 548 #: includes/iworks/kpir/posttypes/invoice.php: 378549 #: includes/iworks/kpir/posttypes/invoice.php:4 04548 #: includes/iworks/kpir/posttypes/invoice.php: 549 #: includes/iworks/kpir/posttypes/invoice.php:4 550 550 msgid "Invoice" 551 551 msgstr "" 552 552 553 #: includes/iworks/kpir/posttypes/invoice.php: 379553 #: includes/iworks/kpir/posttypes/invoice.php: 554 554 msgid "Invoice Archives" 555 555 msgstr "" 556 556 557 #: includes/iworks/kpir/posttypes/invoice.php: 380557 #: includes/iworks/kpir/posttypes/invoice.php: 558 558 msgid "Invoice Attributes" 559 559 msgstr "" 560 560 561 #: includes/iworks/kpir/posttypes/invoice.php: 381561 #: includes/iworks/kpir/posttypes/invoice.php: 562 562 msgid "Parent Invoice:" 563 563 msgstr "" 564 564 565 #: includes/iworks/kpir/posttypes/invoice.php: 382565 #: includes/iworks/kpir/posttypes/invoice.php: 566 566 msgid "All Invoices" 567 567 msgstr "" 568 568 569 #: includes/iworks/kpir/posttypes/invoice.php: 383569 #: includes/iworks/kpir/posttypes/invoice.php: 570 570 msgid "Add New Invoice" 571 571 msgstr "" 572 572 573 #: includes/iworks/kpir/posttypes/invoice.php: 385573 #: includes/iworks/kpir/posttypes/invoice.php: 574 574 msgid "New Invoice" 575 575 msgstr "" 576 576 577 #: includes/iworks/kpir/posttypes/invoice.php: 386577 #: includes/iworks/kpir/posttypes/invoice.php: 578 578 msgid "Edit Invoice" 579 579 msgstr "" 580 580 581 #: includes/iworks/kpir/posttypes/invoice.php: 387581 #: includes/iworks/kpir/posttypes/invoice.php: 582 582 msgid "Update Invoice" 583 583 msgstr "" 584 584 585 #: includes/iworks/kpir/posttypes/invoice.php: 388585 #: includes/iworks/kpir/posttypes/invoice.php: 586 586 msgid "View Invoice" 587 587 msgstr "" 588 588 589 #: includes/iworks/kpir/posttypes/invoice.php: 389589 #: includes/iworks/kpir/posttypes/invoice.php: 590 590 msgid "View Invoices" 591 591 msgstr "" 592 592 593 #: includes/iworks/kpir/posttypes/invoice.php: 390593 #: includes/iworks/kpir/posttypes/invoice.php: 594 594 msgid "Search Invoice" 595 595 msgstr "" 596 596 597 #: includes/iworks/kpir/posttypes/invoice.php: 397597 #: includes/iworks/kpir/posttypes/invoice.php: 598 598 msgid "Insert into invoice" 599 599 msgstr "" 600 600 601 #: includes/iworks/kpir/posttypes/invoice.php: 398601 #: includes/iworks/kpir/posttypes/invoice.php: 602 602 msgid "Uploaded to this invoice" 603 603 msgstr "" 604 604 605 #: includes/iworks/kpir/posttypes/invoice.php: 399605 #: includes/iworks/kpir/posttypes/invoice.php: 606 606 msgid "Invoices list" 607 607 msgstr "" 608 608 609 #: includes/iworks/kpir/posttypes/invoice.php:4 00609 #: includes/iworks/kpir/posttypes/invoice.php:4 610 610 msgid "Invoices list navigation" 611 611 msgstr "" 612 612 613 #: includes/iworks/kpir/posttypes/invoice.php:4 01613 #: includes/iworks/kpir/posttypes/invoice.php:4 614 614 msgid "Filter invoices list" 615 615 msgstr "" 616 616 617 #: includes/iworks/kpir/posttypes/invoice.php:4 05617 #: includes/iworks/kpir/posttypes/invoice.php:4 618 618 msgid "Invoice Description" 619 619 msgstr "" 620 620 621 #: includes/iworks/kpir/posttypes/invoice.php:4 37621 #: includes/iworks/kpir/posttypes/invoice.php:4 622 622 msgid "Enter invoice number" 623 623 msgstr "" 624 624 625 #: includes/iworks/kpir/posttypes/invoice.php: 443625 #: includes/iworks/kpir/posttypes/invoice.php: 626 626 msgid "Basic Data" 627 627 msgstr "" 628 628 629 #: includes/iworks/kpir/posttypes/invoice.php: 444630 #: includes/iworks/kpir/posttypes/invoice.php: 549629 #: includes/iworks/kpir/posttypes/invoice.php: 630 #: includes/iworks/kpir/posttypes/invoice.php: 631 631 msgid "Incomes" 632 632 msgstr "" 633 633 634 #: includes/iworks/kpir/posttypes/invoice.php: 445634 #: includes/iworks/kpir/posttypes/invoice.php: 635 635 msgid "Expenses (costs)" 636 636 msgstr "" 637 637 638 #: includes/iworks/kpir/posttypes/invoice.php: 446639 #: includes/iworks/kpir/posttypes/invoice.php: 555638 #: includes/iworks/kpir/posttypes/invoice.php: 639 #: includes/iworks/kpir/posttypes/invoice.php: 640 640 msgid "Salaries" 641 641 msgstr "" 642 642 643 #: includes/iworks/kpir/posttypes/invoice.php: 447643 #: includes/iworks/kpir/posttypes/invoice.php: 644 644 msgid "Assets" 645 645 msgstr "" 646 646 647 #: includes/iworks/kpir/posttypes/invoice.php: 448647 #: includes/iworks/kpir/posttypes/invoice.php: 648 648 msgid "Insurances (ZUS)" 649 649 msgstr "" 650 650 651 #: includes/iworks/kpir/posttypes/invoice.php: 550651 #: includes/iworks/kpir/posttypes/invoice.php: 652 652 msgid "Expenses" 653 653 msgstr "" 654 654 655 #: includes/iworks/kpir/posttypes/invoice.php: 551655 #: includes/iworks/kpir/posttypes/invoice.php: 656 656 msgid "Expenses (VAT)" 657 657 msgstr "" 658 658 659 #: includes/iworks/kpir/posttypes/invoice.php: 552659 #: includes/iworks/kpir/posttypes/invoice.php: 660 660 msgid "VAT (Income) " 661 661 msgstr "" 662 662 663 #: includes/iworks/kpir/posttypes/invoice.php: 553663 #: includes/iworks/kpir/posttypes/invoice.php: 664 664 msgid "VAT (Expense)" 665 665 msgstr "" 666 666 667 #: includes/iworks/kpir/posttypes/invoice.php: 554667 #: includes/iworks/kpir/posttypes/invoice.php: 668 668 msgid "VAT (zero)" 669 669 msgstr "" 670 670 671 #: includes/iworks/kpir/posttypes/invoice.php: 556671 #: includes/iworks/kpir/posttypes/invoice.php: 672 672 msgid "Depreciation of assets" 673 673 msgstr "" 674 674 675 #: includes/iworks/kpir/posttypes/invoice.php: 650675 #: includes/iworks/kpir/posttypes/invoice.php:0 676 676 msgid "— not paid yet —" 677 677 msgstr "" 678 678 679 #: includes/iworks/kpir/posttypes/invoice.php: 684679 #: includes/iworks/kpir/posttypes/invoice.php:4 680 680 msgid "Date of invoice" 681 681 msgstr "" 682 682 683 #: includes/iworks/kpir/posttypes/invoice.php: 686683 #: includes/iworks/kpir/posttypes/invoice.php:6 684 684 msgid "Payment Date" 685 685 msgstr "" 686 686 687 #: includes/iworks/kpir/posttypes/invoice.php: 689687 #: includes/iworks/kpir/posttypes/invoice.php:9 688 688 msgid "Description" 689 689 msgstr "" 690 690 691 #: includes/iworks/kpir/posttypes/invoice.php: 692691 #: includes/iworks/kpir/posttypes/invoice.php:2 692 692 msgid "Invoice Number" 693 693 msgstr "" … … 719 719 msgstr "" 720 720 721 #: includes/iworks/options/options.php:17 6721 #: includes/iworks/options/options.php:17 722 722 msgid "No Page Title" 723 723 msgstr "" 724 724 725 #: includes/iworks/options/options.php:34 1725 #: includes/iworks/options/options.php:34 726 726 msgid "An error occurred while getting the configuration." 727 727 msgstr "" 728 728 729 #: includes/iworks/options/options.php:9 20730 #: includes/iworks/options/options.php:2 383729 #: includes/iworks/options/options.php:9 730 #: includes/iworks/options/options.php:2 731 731 msgid "Select Image" 732 732 msgstr "" 733 733 734 #: includes/iworks/options/options.php:92 5734 #: includes/iworks/options/options.php:92 735 735 msgid "Delete image" 736 736 msgstr "" 737 737 738 #: includes/iworks/options/options.php:103 3738 #: includes/iworks/options/options.php:103 739 739 msgid "Save Changes" 740 740 msgstr "" 741 741 742 #: includes/iworks/options/options.php:2 258742 #: includes/iworks/options/options.php:2 743 743 msgid "Street" 744 744 msgstr "" 745 745 746 #: includes/iworks/options/options.php:2 259746 #: includes/iworks/options/options.php:2 747 747 msgid "ZIP code" 748 748 msgstr "" 749 749 750 #: includes/iworks/options/options.php:2 443750 #: includes/iworks/options/options.php:2 751 751 msgid "OFF" 752 752 msgstr "" 753 753 754 #: includes/iworks/options/options.php:2 444754 #: includes/iworks/options/options.php:2 755 755 msgid "ON" 756 756 msgstr "" 757 757 758 #: includes/iworks/options/options.php:2 509758 #: includes/iworks/options/options.php:2 759 759 msgid "Failed Security Check" 760 760 msgstr "" … … 777 777 778 778 #. Description of the plugin/theme 779 msgid " Podatkowa Księga Przychodu i Rozchodu"779 msgid "" 780 780 msgstr "" 781 781 … … 803 803 msgstr "" 804 804 805 #: includes/iworks/kpir/posttypes/invoice.php: 375805 #: includes/iworks/kpir/posttypes/invoice.php: 806 806 msgctxt "Invoice General Name" 807 807 msgid "Invoices" 808 808 msgstr "" 809 809 810 #: includes/iworks/kpir/posttypes/invoice.php: 376810 #: includes/iworks/kpir/posttypes/invoice.php: 811 811 msgctxt "Invoice Singular Name" 812 812 msgid "Invoice" -
kpir/trunk/readme.txt
r3317412 r3466277 5 5 Requires at least: 6.0 6 6 Tested up to: 6.8 7 Stable tag: 1.1. 27 Stable tag: 1.1. 8 8 Requires PHP: 8.0 9 9 License: GPLv3 or later … … 64 64 Project maintained on GitHub at [iworks/kpir](https://github.com/iworks/kpir). 65 65 66 67 68 69 66 70 = 1.1.2 - 2025-06-25 = 67 71 * Fixed issue with `use cash pit` option. 68 72 69 73 = 1.1.1 - 2025-06-20 = 70 * Added `filter_add_sortable_columns`, `apply_filter_order_date_of_payment`, `get_custom_field_basic_type_name` methods to invoice post type. 74 * Added `filter_add_sortable_columns`, `apply_filter_order_date_of_payment`, `get_custom_field_basic_type_name` methods to invoice post type. 71 75 * Added sort by payment date. 72 76 * Added `use_cash_pit` property and `action_init_set_options()` method; constructor hook adjusted. -
kpir/trunk/template-parts/jpk/v7m-2/xml/head.php
r3317373 r3466277 3 3 <tns:WariantFormularza>2</tns:WariantFormularza> 4 4 <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK> 5 <tns:NazwaSystemu>KPiR 1.1. 2</tns:NazwaSystemu>5 <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu> 6 6 <tns:CelZlozenia poz="P_7"><?php echo $args['purpose']; ?></tns:CelZlozenia> 7 7 <tns:KodUrzedu><?php echo $args['taxpayer']['department_of_revenue']; ?></tns:KodUrzedu> -
kpir/trunk/template-parts/jpk/v7m/xml/head.php
r3317373 r3466277 3 3 <tns:WariantFormularza>1</tns:WariantFormularza> 4 4 <tns:DataWytworzeniaJPK><?php echo $args['created']; ?></tns:DataWytworzeniaJPK> 5 <tns:NazwaSystemu>KPiR 1.1. 2</tns:NazwaSystemu>5 <tns:NazwaSystemu>KPiR 1.1.</tns:NazwaSystemu> 6 6 <tns:CelZlozenia poz="P_7"><?php echo $args['purpose']; ?></tns:CelZlozenia> 7 7 <tns:KodUrzedu><?php echo $args['taxpayer']['department_of_revenue']; ?></tns:KodUrzedu>
Note: See TracChangeset
for help on using the changeset viewer.