|
3 | 3 | * @Author: Amirhossein Hosseinpour <https://amirhp.com> |
4 | 4 | * @Date Created: 2020/09/20 23:08:04 |
5 | 5 | * @Last modified by: amirhp-com <its@amirhp.com> |
6 | | - * @Last modified time: 2025/12/25 05:10:58 |
| 6 | + * @Last modified time: 2025/12/27 19:03:06 |
7 | 7 | */ |
8 | 8 |
|
9 | 9 | namespace peproulitmateinvoice; |
@@ -157,16 +157,16 @@ public function popup_html_data($id, $mode = true) { |
157 | 157 | ob_start(); |
158 | 158 | ?> |
159 | 159 | <a class='button admn pwui_opts maincog' href='#' data-ref='<?=esc_attr($id)?>' rel='puiw_tooltip' title="<?=esc_attr_x("View Invoice Options", "wc-orders-popup", "pepro-ultimate-invoice");?>"> |
160 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M 11.5 0 C 10.119 0 9 1.119 9 2.5 L 9 4 L 5 4 C 3.895 4 3 4.895 3 6 L 3 9 C 3 9.552 3.448 10 4 10 L 4.3574219 10 C 5.6654219 10 6.8553281 10.941188 6.9863281 12.242188 C 7.1363281 13.739187 5.966 15 4.5 15 L 4 15 C 3.448 15 3 15.448 3 16 L 3 19 C 3 20.105 3.895 21 5 21 L 8 21 C 8.552 21 9 20.552 9 20 L 9 19.642578 C 9 18.334578 9.9411875 17.144672 11.242188 17.013672 C 12.739187 16.863672 14 18.034 14 19.5 L 14 20 C 14 20.552 14.448 21 15 21 L 18 21 C 19.105 21 20 20.105 20 19 L 20 15 L 21.5 15 C 22.881 15 24 13.881 24 12.5 C 24 11.119 22.881 10 21.5 10 L 20 10 L 20 6 C 20 4.895 19.105 4 18 4 L 14 4 L 14 2.5 C 14 1.119 12.881 0 11.5 0 z"/></svg> |
| 160 | + <svg style="width: 24px; height: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M 11.5 0 C 10.119 0 9 1.119 9 2.5 L 9 4 L 5 4 C 3.895 4 3 4.895 3 6 L 3 9 C 3 9.552 3.448 10 4 10 L 4.3574219 10 C 5.6654219 10 6.8553281 10.941188 6.9863281 12.242188 C 7.1363281 13.739187 5.966 15 4.5 15 L 4 15 C 3.448 15 3 15.448 3 16 L 3 19 C 3 20.105 3.895 21 5 21 L 8 21 C 8.552 21 9 20.552 9 20 L 9 19.642578 C 9 18.334578 9.9411875 17.144672 11.242188 17.013672 C 12.739187 16.863672 14 18.034 14 19.5 L 14 20 C 14 20.552 14.448 21 15 21 L 18 21 C 19.105 21 20 20.105 20 19 L 20 15 L 21.5 15 C 22.881 15 24 13.881 24 12.5 C 24 11.119 22.881 10 21.5 10 L 20 10 L 20 6 C 20 4.895 19.105 4 18 4 L 14 4 L 14 2.5 C 14 1.119 12.881 0 11.5 0 z"/></svg> |
161 | 161 | </a> |
162 | 162 | <a class='button admn pwui_opts html' href='<?= esc_attr($url1) ?>' data-ref='<?=esc_attr($id)?>' target='_blank' rel='puiw_tooltip' title='<?=esc_attr_x("View Order HTML Invoice", "wc-orders-popup", "pepro-ultimate-invoice");?>'> |
163 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M13.172,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8.828c0-0.53-0.211-1.039-0.586-1.414l-4.828-4.828 C14.211,2.211,13.702,2,13.172,2z M15,18H9c-0.552,0-1-0.448-1-1v0c0-0.552,0.448-1,1-1h6c0.552,0,1,0.448,1,1v0 C16,17.552,15.552,18,15,18z M15,14H9c-0.552,0-1-0.448-1-1v0c0-0.552,0.448-1,1-1h6c0.552,0,1,0.448,1,1v0 C16,13.552,15.552,14,15,14z M13,9V3.5L18.5,9H13z"/></svg> |
| 163 | + <svg style="width: 24px; height: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M13.172,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8.828c0-0.53-0.211-1.039-0.586-1.414l-4.828-4.828 C14.211,2.211,13.702,2,13.172,2z M15,18H9c-0.552,0-1-0.448-1-1v0c0-0.552,0.448-1,1-1h6c0.552,0,1,0.448,1,1v0 C16,17.552,15.552,18,15,18z M15,14H9c-0.552,0-1-0.448-1-1v0c0-0.552,0.448-1,1-1h6c0.552,0,1,0.448,1,1v0 C16,13.552,15.552,14,15,14z M13,9V3.5L18.5,9H13z"/></svg> |
164 | 164 | </a> |
165 | 165 | <a class='button admn pwui_opts pdf' href='<?= esc_attr($url2) ?>' data-ref='<?=esc_attr($id)?>' target='_blank' rel='puiw_tooltip' title='<?=esc_attr_x("View Order PDF Invoice", "wc-orders-popup", "pepro-ultimate-invoice");?>'> |
166 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8L14,2z M7.6,17.2l1.5-2c0.2-0.267,0.6-0.267,0.8,0 l1.1,1.467l2.1-2.8c0.2-0.267,0.6-0.267,0.8,0l2.5,3.333c0.247,0.33,0.012,0.8-0.4,0.8H8C7.588,18,7.353,17.53,7.6,17.2z M13,9V3.5 L18.5,9H13z"/></svg> |
| 166 | + <svg style="width: 24px; height: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8L14,2z M7.6,17.2l1.5-2c0.2-0.267,0.6-0.267,0.8,0 l1.1,1.467l2.1-2.8c0.2-0.267,0.6-0.267,0.8,0l2.5,3.333c0.247,0.33,0.012,0.8-0.4,0.8H8C7.588,18,7.353,17.53,7.6,17.2z M13,9V3.5 L18.5,9H13z"/></svg> |
167 | 167 | </a> |
168 | 168 | <a class='button admn pwui_opts pdf' href='<?= esc_attr($url12) ?>' data-ref='<?=esc_attr($id)?>' target='_blank' rel='puiw_tooltip' title='<?=esc_attr_x("View Order POS PDF Invoice", "wc-orders-popup", "pepro-ultimate-invoice");?>'> |
169 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M 8 2 C 6.3550302 2 5 3.3550302 5 5 L 5 16 L 3 16 A 1.0001 1.0001 0 0 0 2 17 L 2 19 C 2 20.64497 3.3550302 22 5 22 L 14 22 L 15 22 C 16.64497 22 18 20.64497 18 19 L 18 8 L 21 8 A 1.0001 1.0001 0 0 0 22 7 L 22 5 C 22 3.4284616 20.759624 2.1350333 19.214844 2.0214844 A 1.0001 1.0001 0 0 0 19 2 L 8 2 z M 19 4 C 19.56503 4 20 4.4349698 20 5 L 20 6 L 18 6 L 18 5 C 18 4.4349698 18.43497 4 19 4 z M 4 18 L 5.8320312 18 A 1.0001 1.0001 0 0 0 6.1582031 18 L 11.990234 18 L 12 19.023438 A 1.0001 1.0001 0 0 0 12 19.027344 C 12.004654 19.369889 12.081227 19.693696 12.193359 20 L 5 20 C 4.4349698 20 4 19.56503 4 19 L 4 18 z"/></svg> |
| 169 | + <svg style="width: 24px; height: 24px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="192px" height="192px"><path d="M 8 2 C 6.3550302 2 5 3.3550302 5 5 L 5 16 L 3 16 A 1.0001 1.0001 0 0 0 2 17 L 2 19 C 2 20.64497 3.3550302 22 5 22 L 14 22 L 15 22 C 16.64497 22 18 20.64497 18 19 L 18 8 L 21 8 A 1.0001 1.0001 0 0 0 22 7 L 22 5 C 22 3.4284616 20.759624 2.1350333 19.214844 2.0214844 A 1.0001 1.0001 0 0 0 19 2 L 8 2 z M 19 4 C 19.56503 4 20 4.4349698 20 5 L 20 6 L 18 6 L 18 5 C 18 4.4349698 18.43497 4 19 4 z M 4 18 L 5.8320312 18 A 1.0001 1.0001 0 0 0 6.1582031 18 L 11.990234 18 L 12 19.023438 A 1.0001 1.0001 0 0 0 12 19.027344 C 12.004654 19.369889 12.081227 19.693696 12.193359 20 L 5 20 C 4.4349698 20 4 19.56503 4 19 L 4 18 z"/></svg> |
170 | 170 | </a> |
171 | 171 | <?php |
172 | 172 | $items = ob_get_clean(); |
|
0 commit comments