POS Buisness Help

Psiko

Well-known member
  • Mar 10, 2023
    12,291
    11,640
    113
    🤍
    me thiyenne bila


    me thiyenne epson tm-t81iii printer eka
    dj9jivM.jpg


    me thieynne settings maru nokara print krhm ena wdha
    V4qCwHo.jpg



    me Thiyenne Bill ekata thiayana code eka

    bila hariyatama koleta fit krgnne khmd cudah ?

    PHP:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Invoice Print</title>
    
        <?php
        $style = '
        <style>
            * {
                font-family: "consolas", sans-serif;
            }
            p {
                display: block;
                margin: 3px;
                font-size: 10pt;
            }
            table td {
                font-size: 9pt;
            }
            .text-center {
                text-align: center;
            }
            .text-right {
                text-align: right;
            }
    
            @media print {
                @page {
                    margin: 0;
                    size: 80mm
        ';
        ?>
        <?php
        $style .=
            ! empty($_COOKIE['innerHeight'])
                ? $_COOKIE['innerHeight'] .'mm; }'
                : '}';
        ?>
        <?php
        $style .= '
                html, body {
                    width: 80mm;
                }
                .btn-print {
                    display: none;
                }
            }
        </style>
        ';
        ?>
    
        {!! $style !!}
    </head>
    <body onload="window.print()">
        <button class="btn-print" style="position: absolute; right: 1rem; top: rem;" onclick="window.print()">Print</button>
        <div class="text-center">
            <h3 style="margin-bottom: 5px;">The Spa</h3>
            <p>www.thaispa.com</p>
            <p>027 2250 900</p>
            <p>Minneriya Srilanka</p>
        </div>
        <br>
        <div>
            <p style="float: left;">{{ date('d-m-Y') }}</p>
            <p style="float: right">{{ strtoupper(auth()->user()->name) }}</p>
        </div>
        <div class="clear-both" style="clear: both;"></div>
        <p>No: {{ $transaction->transaction_code }}</p>
        <p class="text-center">===================================</p>
        
        <br>
        <table width="100%" style="border: 0;">
            @foreach ($transaction->transaction_details as $transaction_detail)
                <tr>
                    <td colspan="3">{{ $transaction_detail->name }}</td>
                </tr>
                <tr>
                    <td>{{ $transaction_detail->qty }} x {{ $transaction_detail->base_price }}</td>
                    <td></td>
                    <td class="text-right">{{ $transaction_detail->qty * $transaction_detail->base_price }}</td>
                </tr>
            @endforeach
        </table>
        <p class="text-center">-----------------------------------</p>
    
        <table width="100%" style="border: 0;">
            <tr>
                <td>Total :</td>
                <td class="text-right">{{ $transaction->total_price }}</td>
            </tr>
            <tr>
                <td>Accept:</td>
                <td class="text-right">{{ $transaction->accept }}</td>
            </tr>
            <tr>
                <td>Return:</td>
                <td class="text-right">{{ $transaction->return }}</td>
            </tr>
        </table>
    
        <p class="text-center">===================================</p>
        <p class="text-center">-- Dalada Samindu Pihitai --</p>
        <p class="text-center" >Developed by: sorrowcode.com</p>
        <p class="text-center" >Contact: 0771233211</p>
        
    
        <script>
            let body = document.body;
            let html = document.documentElement;
            let height = Math.max(
                    body.scrollHeight, body.offsetHeight,
                    html.clientHeight, html.scrollHeight, html.offsetHeight
                );
    
            document.cookie = "innerHeight=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
            document.cookie = "innerHeight="+ ((height + 50) * 0.264583);
        </script>
    </body>
    </html>
     

    sajith.xp.pk

    Well-known member
  • Nov 12, 2008
    5,957
    3,965
    113
    Sri Lanka
    ඕකෙ adjustments වලින් හරියන්නෙ නැත්නම් Printer Software එකට එන Printer Settings වලින් Margin අඩු කරල බලන්න.
     
    • Love
    Reactions: Psiko

    wissnshaftler

    Well-known member
  • Dec 13, 2023
    6,575
    10,848
    113
    ම්ම්ම් කොල්ලා ස්පා එකක් දාන්න වගෙ . කෝඩ් එකෙනං
    me thiyenne bila


    me thiyenne epson tm-t81iii printer eka
    dj9jivM.jpg


    me thieynne settings maru nokara print krhm ena wdha
    V4qCwHo.jpg



    me Thiyenne Bill ekata thiayana code eka

    bila hariyatama koleta fit krgnne khmd cudah ?

    PHP:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Invoice Print</title>
    
        <?php
        $style = '
        <style>
            * {
                font-family: "consolas", sans-serif;
            }
            p {
                display: block;
                margin: 3px;
                font-size: 10pt;
            }
            table td {
                font-size: 9pt;
            }
            .text-center {
                text-align: center;
            }
            .text-right {
                text-align: right;
            }
    
            @media print {
                @page {
                    margin: 0;
                    size: 80mm
        ';
        ?>
        <?php
        $style .=
            ! empty($_COOKIE['innerHeight'])
                ? $_COOKIE['innerHeight'] .'mm; }'
                : '}';
        ?>
        <?php
        $style .= '
                html, body {
                    width: 80mm;
                }
                .btn-print {
                    display: none;
                }
            }
        </style>
        ';
        ?>
    
        {!! $style !!}
    </head>
    <body onload="window.print()">
        <button class="btn-print" style="position: absolute; right: 1rem; top: rem;" onclick="window.print()">Print</button>
        <div class="text-center">
            <h3 style="margin-bottom: 5px;">The Spa</h3>
            <p>www.thaispa.com</p>
            <p>027 2250 900</p>
            <p>Minneriya Srilanka</p>
        </div>
        <br>
        <div>
            <p style="float: left;">{{ date('d-m-Y') }}</p>
            <p style="float: right">{{ strtoupper(auth()->user()->name) }}</p>
        </div>
        <div class="clear-both" style="clear: both;"></div>
        <p>No: {{ $transaction->transaction_code }}</p>
        <p class="text-center">===================================</p>
       
        <br>
        <table width="100%" style="border: 0;">
            @foreach ($transaction->transaction_details as $transaction_detail)
                <tr>
                    <td colspan="3">{{ $transaction_detail->name }}</td>
                </tr>
                <tr>
                    <td>{{ $transaction_detail->qty }} x {{ $transaction_detail->base_price }}</td>
                    <td></td>
                    <td class="text-right">{{ $transaction_detail->qty * $transaction_detail->base_price }}</td>
                </tr>
            @endforeach
        </table>
        <p class="text-center">-----------------------------------</p>
    
        <table width="100%" style="border: 0;">
            <tr>
                <td>Total :</td>
                <td class="text-right">{{ $transaction->total_price }}</td>
            </tr>
            <tr>
                <td>Accept:</td>
                <td class="text-right">{{ $transaction->accept }}</td>
            </tr>
            <tr>
                <td>Return:</td>
                <td class="text-right">{{ $transaction->return }}</td>
            </tr>
        </table>
    
        <p class="text-center">===================================</p>
        <p class="text-center">-- Dalada Samindu Pihitai --</p>
        <p class="text-center" >Developed by: sorrowcode.com</p>
        <p class="text-center" >Contact: 0771233211</p>
       
    
        <script>
            let body = document.body;
            let html = document.documentElement;
            let height = Math.max(
                    body.scrollHeight, body.offsetHeight,
                    html.clientHeight, html.scrollHeight, html.offsetHeight
                );
    
            document.cookie = "innerHeight=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
            document.cookie = "innerHeight="+ ((height + 50) * 0.264583);
        </script>
    </body>
    </html>
     
    • Haha
    Reactions: Psiko

    Psiko

    Well-known member
  • Mar 10, 2023
    12,291
    11,640
    113
    🤍
    ඕකෙ adjustments වලින් හරියන්නෙ නැත්නම් Printer Software එකට එන Printer Settings වලින් Margin අඩු කරල බලන්න.


    haaaaa podiii wenasak awa
    ම්ම්ම් කොල්ලා ස්පා එකක් දාන්න වගෙ . කෝඩ් එකෙනං

    Chill Chilling GIF by Vienna Pitts


    මේකද උබේ අලුත් බිස්නස් එක (spa)

    200.gif

    ------ Post added on May 1, 2024 at 5:01 PM
     

    jennt

    Well-known member
  • Sep 23, 2021
    2,950
    4,581
    113
    Abyss
    me thiyenne bila


    me thiyenne epson tm-t81iii printer eka
    dj9jivM.jpg


    me thieynne settings maru nokara print krhm ena wdha
    V4qCwHo.jpg



    me Thiyenne Bill ekata thiayana code eka

    bila hariyatama koleta fit krgnne khmd cudah ?

    PHP:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Invoice Print</title>
    
        <?php
        $style = '
        <style>
            * {
                font-family: "consolas", sans-serif;
            }
            p {
                display: block;
                margin: 3px;
                font-size: 10pt;
            }
            table td {
                font-size: 9pt;
            }
            .text-center {
                text-align: center;
            }
            .text-right {
                text-align: right;
            }
    
            @media print {
                @page {
                    margin: 0;
                    size: 80mm
        ';
        ?>
        <?php
        $style .=
            ! empty($_COOKIE['innerHeight'])
                ? $_COOKIE['innerHeight'] .'mm; }'
                : '}';
        ?>
        <?php
        $style .= '
                html, body {
                    width: 80mm;
                }
                .btn-print {
                    display: none;
                }
            }
        </style>
        ';
        ?>
    
        {!! $style !!}
    </head>
    <body onload="window.print()">
        <button class="btn-print" style="position: absolute; right: 1rem; top: rem;" onclick="window.print()">Print</button>
        <div class="text-center">
            <h3 style="margin-bottom: 5px;">The Spa</h3>
            <p>www.thaispa.com</p>
            <p>027 2250 900</p>
            <p>Minneriya Srilanka</p>
        </div>
        <br>
        <div>
            <p style="float: left;">{{ date('d-m-Y') }}</p>
            <p style="float: right">{{ strtoupper(auth()->user()->name) }}</p>
        </div>
        <div class="clear-both" style="clear: both;"></div>
        <p>No: {{ $transaction->transaction_code }}</p>
        <p class="text-center">===================================</p>
       
        <br>
        <table width="100%" style="border: 0;">
            @foreach ($transaction->transaction_details as $transaction_detail)
                <tr>
                    <td colspan="3">{{ $transaction_detail->name }}</td>
                </tr>
                <tr>
                    <td>{{ $transaction_detail->qty }} x {{ $transaction_detail->base_price }}</td>
                    <td></td>
                    <td class="text-right">{{ $transaction_detail->qty * $transaction_detail->base_price }}</td>
                </tr>
            @endforeach
        </table>
        <p class="text-center">-----------------------------------</p>
    
        <table width="100%" style="border: 0;">
            <tr>
                <td>Total :</td>
                <td class="text-right">{{ $transaction->total_price }}</td>
            </tr>
            <tr>
                <td>Accept:</td>
                <td class="text-right">{{ $transaction->accept }}</td>
            </tr>
            <tr>
                <td>Return:</td>
                <td class="text-right">{{ $transaction->return }}</td>
            </tr>
        </table>
    
        <p class="text-center">===================================</p>
        <p class="text-center">-- Dalada Samindu Pihitai --</p>
        <p class="text-center" >Developed by: sorrowcode.com</p>
        <p class="text-center" >Contact: 0771233211</p>
       
    
        <script>
            let body = document.body;
            let html = document.documentElement;
            let height = Math.max(
                    body.scrollHeight, body.offsetHeight,
                    html.clientHeight, html.scrollHeight, html.offsetHeight
                );
    
            document.cookie = "innerHeight=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
            document.cookie = "innerHeight="+ ((height + 50) * 0.264583);
        </script>
    </body>
    </html>

    ඔය system එක්ක ගාන කීයද බන් software එකකට් විතරක් ?
    මේ ලගදි මගෙන් අහුව මගෙන් කීයක් විතර යයිද කියල
    pharmacy එකකට හදන්න

    දන්නෙ නැති හින්ද මන් කිව්ව 50k විතර යයි කියල.
     

    Psiko

    Well-known member
  • Mar 10, 2023
    12,291
    11,640
    113
    🤍
    ඔය system එක්ක ගාන කීයද බන් software එකකට් විතරක් ?
    මේ ලගදි මගෙන් අහුව මගෙන් කීයක් විතර යයිද කියල
    pharmacy එකකට හදන්න

    දන්නෙ නැති හින්ද මන් කිව්ව 50k විතර යයි කියල.
    meka mage palweni eka software eka witrk 60 kata kare

    hebai next time krnkot me ganata ynne na . price up krnw


    Kalin hadala nattn bara aragena payment ekk aran wade ptngnn tynneh
     

    jennt

    Well-known member
  • Sep 23, 2021
    2,950
    4,581
    113
    Abyss
    බඩු වලට කීයක් යනවද? ඊට පස්සෙ අරූ මගෙන් හදාගන්නෙ නැතුව බඩුත් එක්කම 1lakh වලට කරගත්ත කිව්ව
     
    • Like
    Reactions: Psiko

    Psiko

    Well-known member
  • Mar 10, 2023
    12,291
    11,640
    113
    🤍
    M
    බඩු වලට කීයක් යනවද? ඊට පස්සෙ අරූ මගෙන් හදාගන්නෙ නැතුව බඩුත් එක්කම 1lakh වලට කරගත්ත කිව්ව
    Meke online ekak

    Badu mokut man danne na

    Customer badu gann one


    Badu dala krn eka laba athi gana wdiyen gtthakine 🤑