Logo white

Administrator / my-new-semena

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • my-new-semena
  • src
  • lib
  • models
  • payment.php
  • ....
    d5a88313
    Eugeny Galkovskiy authored
    2016-07-11 11:20:17 +0300  
    Browse Code ยป
payment.php 340 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php

namespace models;

class payment extends \db
{
    public function getPaymentByCustomer($customer_id) {
        return $this->get('
            select * from public.payment where "customer_id" = :customer_id ORDER by id DESC

            ',
            [
                'customer_id' => $customer_id
            ]
        );
    }
}